mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
Stagify the port; fix RUN_DEPENDS to unbreak packaing.
This commit is contained in:
parent
9d1b2fa9ef
commit
9afd2d46c2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=348365
1 changed files with 6 additions and 10 deletions
|
@ -11,18 +11,16 @@ COMMENT= Openbox hotkey editor, written in Python and PyGTK
|
|||
|
||||
LICENSE= MIT
|
||||
|
||||
RUN_DEPENDS= py2[67]-gtk>=2.14:${PORTSDIR}/x11-toolkits/py-gtk2
|
||||
RUN_DEPENDS= py27-gtk2>=2.14:${PORTSDIR}/x11-toolkits/py-gtk2
|
||||
|
||||
USES= gettext
|
||||
USE_PYTHON= yes
|
||||
USE_PYDISTUTILS= yes
|
||||
|
||||
PORTDOCS= NEWS
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's,python,env &,' \
|
||||
${WRKSRC}/obkey ${WRKSRC}/obkey_classes.py
|
||||
|
@ -30,11 +28,9 @@ post-patch:
|
|||
${WRKSRC}/obkey_classes.py
|
||||
|
||||
post-install:
|
||||
@${MKDIR} ${DESKTOPDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/misc/obkey.desktop ${DESKTOPDIR}
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/NEWS ${DOCSDIR}
|
||||
.endif
|
||||
@${MKDIR} ${STAGEDIR}${DESKTOPDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/misc/obkey.desktop ${STAGEDIR}${DESKTOPDIR}
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/NEWS ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Add table
Reference in a new issue