aboutsummaryrefslogtreecommitdiff
path: root/sysutils/gapcmon
diff options
context:
space:
mode:
authorJason E. Hale <jhale@FreeBSD.org>2014-06-10 00:01:35 +0000
committerJason E. Hale <jhale@FreeBSD.org>2014-06-10 00:01:35 +0000
commit7cdfb0c8c06431acf364c3fda5c2e753074d5743 (patch)
tree70f09da6fe6b30492d07516845f2f47b0463c0e0 /sysutils/gapcmon
parentc060aceae5d9b868c20ce7368aa3812e49403ae7 (diff)
downloadports-7cdfb0c8c06431acf364c3fda5c2e753074d5743.tar.gz
ports-7cdfb0c8c06431acf364c3fda5c2e753074d5743.zip
Notes
Diffstat (limited to 'sysutils/gapcmon')
-rw-r--r--sysutils/gapcmon/Makefile17
-rw-r--r--sysutils/gapcmon/files/patch-src__eggtrayicon.c (renamed from sysutils/gapcmon/files/patch-src:eggtrayicon.c)0
-rw-r--r--sysutils/gapcmon/pkg-plist8
3 files changed, 8 insertions, 17 deletions
diff --git a/sysutils/gapcmon/Makefile b/sysutils/gapcmon/Makefile
index 0eac0816cc5e..d8782ea2059d 100644
--- a/sysutils/gapcmon/Makefile
+++ b/sysutils/gapcmon/Makefile
@@ -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>
diff --git a/sysutils/gapcmon/files/patch-src:eggtrayicon.c b/sysutils/gapcmon/files/patch-src__eggtrayicon.c
index 306965bee417..306965bee417 100644
--- a/sysutils/gapcmon/files/patch-src:eggtrayicon.c
+++ b/sysutils/gapcmon/files/patch-src__eggtrayicon.c
diff --git a/sysutils/gapcmon/pkg-plist b/sysutils/gapcmon/pkg-plist
index 64adf8295293..5f95402702c5 100644
--- a/sysutils/gapcmon/pkg-plist
+++ b/sysutils/gapcmon/pkg-plist
@@ -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%%