From e439269c517bf07b224597910e69493ca022caba Mon Sep 17 00:00:00 2001 From: bapt Date: Fri, 28 Feb 2014 08:42:54 +0000 Subject: Support stage Use options framework Respect examples/docs --- x11-wm/bbpager/Makefile | 20 ++++++++++---------- x11-wm/bbpager/pkg-plist | 24 ++++++++++++------------ 2 files changed, 22 insertions(+), 22 deletions(-) diff --git a/x11-wm/bbpager/Makefile b/x11-wm/bbpager/Makefile index a956a1d2159f..8360f56f0b0f 100644 --- a/x11-wm/bbpager/Makefile +++ b/x11-wm/bbpager/Makefile @@ -3,12 +3,15 @@ PORTNAME= bbpager DISTVERSION= 0.4.7 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11-wm MASTER_SITES= SF/bbtools/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= A.J.Caines@halplant.com -COMMENT= A pager for the Blackbox window manager +COMMENT= Pager for the Blackbox window manager + +OPTIONS_DEFINE= DOCS EXAMPLES +OPTIOSN_SUB= yes BUILD_DEPENDS= blackbox:${PORTSDIR}/x11-wm/blackbox @@ -22,14 +25,11 @@ DOCS= AUTHORS BUGS COPYING ChangeLog INSTALL NEWS \ README TODO EXAMPLES= bbpager.rc README.bbpager -NO_STAGE= yes do-install: - @${INSTALL_PROGRAM} ${WRKSRC}/src/bbpager ${PREFIX}/bin -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - @${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/ - @${MKDIR} ${EXAMPLESDIR} - @${INSTALL_DATA} ${EXAMPLES:S,^,${WRKSRC}/data/,} ${EXAMPLESDIR}/ -.endif + ${INSTALL_PROGRAM} ${WRKSRC}/src/bbpager ${STAGEDIR}${PREFIX}/bin + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/ + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + @${INSTALL_DATA} ${EXAMPLES:S,^,${WRKSRC}/data/,} ${STAGEDIR}${EXAMPLESDIR}/ .include diff --git a/x11-wm/bbpager/pkg-plist b/x11-wm/bbpager/pkg-plist index 1911d7b6ca1b..c279c96a32ed 100644 --- a/x11-wm/bbpager/pkg-plist +++ b/x11-wm/bbpager/pkg-plist @@ -1,13 +1,13 @@ bin/bbpager -%%PORTDOCS%%%%DOCSDIR%%/AUTHORS -%%PORTDOCS%%%%DOCSDIR%%/BUGS -%%PORTDOCS%%%%DOCSDIR%%/COPYING -%%PORTDOCS%%%%DOCSDIR%%/ChangeLog -%%PORTDOCS%%%%DOCSDIR%%/INSTALL -%%PORTDOCS%%%%DOCSDIR%%/NEWS -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%%%DOCSDIR%%/TODO -%%PORTDOCS%%%%EXAMPLESDIR%%/README.bbpager -%%PORTDOCS%%%%EXAMPLESDIR%%/bbpager.rc -%%PORTDOCS%%@dirrm %%DOCSDIR%% -%%PORTDOCS%%@dirrm %%EXAMPLESDIR%% +%%DOCS%%%%DOCSDIR%%/AUTHORS +%%DOCS%%%%DOCSDIR%%/BUGS +%%DOCS%%%%DOCSDIR%%/COPYING +%%DOCS%%%%DOCSDIR%%/ChangeLog +%%DOCS%%%%DOCSDIR%%/INSTALL +%%DOCS%%%%DOCSDIR%%/NEWS +%%DOCS%%%%DOCSDIR%%/README +%%DOCS%%%%DOCSDIR%%/TODO +%%EXAMPLES%%%%EXAMPLESDIR%%/README.bbpager +%%EXAMPLES%%%%EXAMPLESDIR%%/bbpager.rc +%%DOCS%%@dirrm %%DOCSDIR%% +%%EXAMPLES%%@dirrm %%EXAMPLESDIR%% -- cgit