From 321d0bd06d6ba9e5948826af62d3138b63dd6477 Mon Sep 17 00:00:00 2001 From: beech Date: Mon, 4 Feb 2008 04:31:05 +0000 Subject: - Update to 0.4.7 - Add pkg-plist - Use SF macro PR: ports/120227 Submitted by: Felippe de Meirelles Motta Approved by: A.J.Caines@halplant.com (maintainer) --- x11-wm/bbpager/Makefile | 25 +++++++++---------------- x11-wm/bbpager/distinfo | 6 +++--- x11-wm/bbpager/pkg-plist | 13 +++++++++++++ 3 files changed, 25 insertions(+), 19 deletions(-) create mode 100644 x11-wm/bbpager/pkg-plist (limited to 'x11-wm/bbpager') diff --git a/x11-wm/bbpager/Makefile b/x11-wm/bbpager/Makefile index e7334ee59eb1..2ab8ec35c901 100644 --- a/x11-wm/bbpager/Makefile +++ b/x11-wm/bbpager/Makefile @@ -6,10 +6,9 @@ # PORTNAME= bbpager -DISTVERSION= 0.4.3 -PORTREVISION= 1 +DISTVERSION= 0.4.7 CATEGORIES= x11-wm -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITES= SF MASTER_SITE_SUBDIR= bbtools MAINTAINER= A.J.Caines@halplant.com @@ -17,29 +16,23 @@ 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 CONFIGURE_ENV= CPPFLAGS="`pkg-config --cflags xft`" \ LDFLAGS="`pkg-config --libs xft`" CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL} -PORTDOCS= README.bbpager -PLIST_FILES= bin/bbpager %%DATADIR%%/bbpager.rc -PLIST_DIRS= %%DATADIR%% +DOCS= AUTHORS BUGS COPYING ChangeLog INSTALL NEWS \ + README TODO +EXAMPLES= bbpager.rc README.bbpager do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/src/bbpager ${PREFIX}/bin - @${MKDIR} ${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/data/bbpager.rc ${DATADIR}/ - -post-install: + @${INSTALL_PROGRAM} ${WRKSRC}/src/bbpager ${PREFIX}/bin .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} -.for file in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/data/${file} ${DOCSDIR}/ -.endfor + @${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/ + @${MKDIR} ${EXAMPLESDIR} + @${INSTALL_DATA} ${EXAMPLES:S,^,${WRKSRC}/data/,} ${EXAMPLESDIR}/ .endif .include diff --git a/x11-wm/bbpager/distinfo b/x11-wm/bbpager/distinfo index ab62e011bebb..b12d28a8c4ad 100644 --- a/x11-wm/bbpager/distinfo +++ b/x11-wm/bbpager/distinfo @@ -1,3 +1,3 @@ -MD5 (bbpager-0.4.3.tar.gz) = bc5139a7f4089d04c53243d7e36d3b87 -SHA256 (bbpager-0.4.3.tar.gz) = fc20612bc9db762aa1be5418eb85ed6fec50fe05ffca39e1b75da95d786c1a8e -SIZE (bbpager-0.4.3.tar.gz) = 167913 +MD5 (bbpager-0.4.7.tar.gz) = 4eaa91a4d66130af2f7a09c25f917386 +SHA256 (bbpager-0.4.7.tar.gz) = e7063a8d65c25663f44e2769132053bd3f1b90f0d4b19a8d8aa2e5f028f0679d +SIZE (bbpager-0.4.7.tar.gz) = 170575 diff --git a/x11-wm/bbpager/pkg-plist b/x11-wm/bbpager/pkg-plist new file mode 100644 index 000000000000..1911d7b6ca1b --- /dev/null +++ b/x11-wm/bbpager/pkg-plist @@ -0,0 +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%% -- cgit