From 756ed8f6b5d9284a9c8af858de9f3cbe62e8b00f Mon Sep 17 00:00:00 2001 From: miwi Date: Thu, 11 Sep 2008 15:52:31 +0000 Subject: - Respect NOPORTODCS PR: 127267 Submitted by: Thomas Sandford Prompted by: ionbot Approved by: portmgr (pav) --- net/xwhois/Makefile | 20 +++++++++++--------- net/xwhois/pkg-plist | 16 ++++++++-------- 2 files changed, 19 insertions(+), 17 deletions(-) (limited to 'net') 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 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%% -- cgit