aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2008-09-11 23:52:31 +0800
committermiwi <miwi@FreeBSD.org>2008-09-11 23:52:31 +0800
commit756ed8f6b5d9284a9c8af858de9f3cbe62e8b00f (patch)
tree5cef48d949858cac45953885bd9b8e3eb5c3c193 /net
parent2e1207d7fa2830095f4449bb40ebae81d791a78e (diff)
downloadfreebsd-ports-gnome-756ed8f6b5d9284a9c8af858de9f3cbe62e8b00f.tar.gz
freebsd-ports-gnome-756ed8f6b5d9284a9c8af858de9f3cbe62e8b00f.tar.zst
freebsd-ports-gnome-756ed8f6b5d9284a9c8af858de9f3cbe62e8b00f.zip
- Respect NOPORTODCS
PR: 127267 Submitted by: Thomas Sandford <freebsduser@paradisegreen.co.uk> Prompted by: ionbot Approved by: portmgr (pav)
Diffstat (limited to 'net')
-rw-r--r--net/xwhois/Makefile20
-rw-r--r--net/xwhois/pkg-plist16
2 files changed, 19 insertions, 17 deletions
diff --git a/net/xwhois/Makefile b/net/xwhois/Makefile
index 40b82e6919f4..9bbc89848937 100644
--- a/net/xwhois/Makefile
+++ b/net/xwhois/Makefile
@@ -7,7 +7,7 @@
PORTNAME= xwhois
PORTVERSION= 0.4.2
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= net
MASTER_SITES= http://c64.org/~nr/xwhois/dist/
@@ -19,15 +19,17 @@ GNU_CONFIGURE= yes
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/xwhois ${PREFIX}/bin
- ${MKDIR} ${PREFIX}/share/xwhois
- ${MKDIR} ${PREFIX}/share/xwhois/pixmaps
- ${INSTALL_DATA} ${WRKSRC}/docs/xwhois.servers ${PREFIX}/share/xwhois
- ${INSTALL_DATA} ${WRKSRC}/docs/xwhois.xpm ${PREFIX}/share/xwhois/pixmaps
+.if !defined(NOPORTDATA)
+ ${MKDIR} ${DATADIR}
+ ${MKDIR} ${DATADIR}/pixmaps
+ ${INSTALL_DATA} ${WRKSRC}/docs/xwhois.servers ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/docs/xwhois.xpm ${DATADIR}/pixmaps
+.endif
.if !defined(NOPORTDOCS)
- ${MKDIR} ${PREFIX}/share/doc/xwhois
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/xwhois
- ${INSTALL_DATA} ${WRKSRC}/docs/TODO ${PREFIX}/share/doc/xwhois
- ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${PREFIX}/share/doc/xwhois
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/docs/TODO ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DOCSDIR}
.endif
.include <bsd.port.mk>
diff --git a/net/xwhois/pkg-plist b/net/xwhois/pkg-plist
index 177d3fb9a601..158ffbe7aaf2 100644
--- a/net/xwhois/pkg-plist
+++ b/net/xwhois/pkg-plist
@@ -1,9 +1,9 @@
bin/xwhois
-share/xwhois/xwhois.servers
-share/xwhois/pixmaps/xwhois.xpm
-share/doc/xwhois/README
-share/doc/xwhois/TODO
-share/doc/xwhois/ChangeLog
-@dirrm share/xwhois/pixmaps
-@dirrm share/xwhois
-@dirrm share/doc/xwhois
+%%PORTDATA%%%%DATADIR%%/xwhois.servers
+%%PORTDATA%%%%DATADIR%%/pixmaps/xwhois.xpm
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/TODO
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+%%PORTDATA%%@dirrm %%DATADIR%%/pixmaps
+%%PORTDATA%%@dirrm %%DATADIR%%