aboutsummaryrefslogtreecommitdiff
path: root/x11-wm/bbpager/Makefile
diff options
context:
space:
mode:
authorFlorent Thoumie <flz@FreeBSD.org>2005-03-18 21:20:26 +0000
committerFlorent Thoumie <flz@FreeBSD.org>2005-03-18 21:20:26 +0000
commitb16723fd670e8305689626948a2bcb6608dcfda7 (patch)
treec016bdd4a74510ec4fdbeca153af056eb26f0103 /x11-wm/bbpager/Makefile
parent9ba60de158faec3d8ad27d3717666a6aaaf43285 (diff)
downloadports-b16723fd670e8305689626948a2bcb6608dcfda7.tar.gz
ports-b16723fd670e8305689626948a2bcb6608dcfda7.zip
Notes
Diffstat (limited to 'x11-wm/bbpager/Makefile')
-rw-r--r--x11-wm/bbpager/Makefile31
1 files changed, 23 insertions, 8 deletions
diff --git a/x11-wm/bbpager/Makefile b/x11-wm/bbpager/Makefile
index 59e566521f07..8a284e5f2b24 100644
--- a/x11-wm/bbpager/Makefile
+++ b/x11-wm/bbpager/Makefile
@@ -6,22 +6,37 @@
#
PORTNAME= bbpager
-PORTVERSION= 0.3.1
+PORTVERSION= 0.4.0
CATEGORIES= x11-wm
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= bbtools
+MASTER_SITES= http://halplant.com:88/software/src/
+DISTFILES= ${PORTNAME}-${PORTVERSION}-cvs.tar.gz
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= A.J.Caines@halplant.com
COMMENT= A pager for the Blackbox window manager
+BUILD_DEPENDS= blackbox:${PORTSDIR}/x11-wm/blackbox
+
USE_X_PREFIX= yes
+USE_GNOME= gnomehack pkgconfig
+USE_GCC= 3.3+
GNU_CONFIGURE= yes
-PLIST_FILES= bin/bbpager share/bbtools/bbpager.bb \
- share/bbtools/bbpager.nobb share/bbtools/README.bbpager
+PORTDOCS= README.bbpager
+PLIST_FILES= bin/bbpager %%DATADIR%%/bbpager.rc
+PLIST_DIRS= %%DATADIR%% %%DOCSDIR%%
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/bbpager ${PREFIX}/bin
+ @${MKDIR} ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/data/bbpager.rc ${DATADIR}/
post-install:
- @${ECHO_CMD} "@unexec rmdir %D/share/bbtools 2>/dev/null || true" \
- >> ${TMPPLIST}
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+.for file in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/data/${file} ${DOCSDIR}/
+.endfor
+.endif
+ @${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>