- Support staging

- Rename patch file to eliminate ':'
This commit is contained in:
Jason E. Hale 2014-06-10 00:01:35 +00:00
parent c060aceae5
commit 7cdfb0c8c0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=357231
3 changed files with 8 additions and 17 deletions

View File

@ -16,23 +16,6 @@ USE_GNOME= gconf2
USES= pkgconfig gmake tar:bzip2
GNU_CONFIGURE= yes
PORTDOCS= AUTHORS ChangeLog INSTALL README
NO_STAGE= yes
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
post-extract:
@${REINPLACE_CMD} 's|install-gapcmondocDATA \\|\\|' \
${WRKSRC}/Makefile.in
post-install:
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>

View File

@ -1,8 +1,16 @@
bin/gapcmon
share/applications/gapcmon.desktop
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
@comment %%PORTDOCS%%%%DOCSDIR%%/COPYING
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
@comment %%PORTDOCS%%%%DOCSDIR%%/NEWS
%%PORTDOCS%%%%DOCSDIR%%/README
@comment %%PORTDOCS%%%%DOCSDIR%%/gapcmon.desktop
share/pixmaps/apcupsd.png
share/pixmaps/charging.png
share/pixmaps/gapc_prefs.png
share/pixmaps/onbatt.png
share/pixmaps/online.png
share/pixmaps/unplugged.png
%%PORTDOCS%%@dirrm %%DOCSDIR%%