aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-02-28 16:42:54 +0800
committerbapt <bapt@FreeBSD.org>2014-02-28 16:42:54 +0800
commite439269c517bf07b224597910e69493ca022caba (patch)
treea76111690c0ada2316d9f67d5cdad6dbaa0308e5
parentbe56088817ebe4cc58c7afef935863edc45365de (diff)
downloadfreebsd-ports-gnome-e439269c517bf07b224597910e69493ca022caba.tar.gz
freebsd-ports-gnome-e439269c517bf07b224597910e69493ca022caba.tar.zst
freebsd-ports-gnome-e439269c517bf07b224597910e69493ca022caba.zip
Support stage
Use options framework Respect examples/docs
-rw-r--r--x11-wm/bbpager/Makefile20
-rw-r--r--x11-wm/bbpager/pkg-plist24
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 <bsd.port.mk>
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%%