diff options
Diffstat (limited to 'sysutils/bbapm')
-rw-r--r-- | sysutils/bbapm/Makefile | 18 | ||||
-rw-r--r-- | sysutils/bbapm/pkg-descr | 2 | ||||
-rw-r--r-- | sysutils/bbapm/pkg-plist | 7 |
3 files changed, 15 insertions, 12 deletions
diff --git a/sysutils/bbapm/Makefile b/sysutils/bbapm/Makefile index a7ed91320e5e..108b0cb81a35 100644 --- a/sysutils/bbapm/Makefile +++ b/sysutils/bbapm/Makefile @@ -9,9 +9,11 @@ PORTNAME= bbapm PORTVERSION= 0.0.1 PORTREVISION= 1 CATEGORIES= sysutils -MASTER_SITES= http://bbtools.windsofstorm.net/sources/ +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= bbtools -PATCH_SITES= ${MASTER_SITES} +PATCH_SITES= ${MASTER_SITE_SOURCEFORGE} +PATCH_SITE_SUBDIR= bbtools PATCHFILES= bbapm-0.0.1-freebsd-patch-2.diff PATCH_DIST_STRIP= -p1 @@ -23,12 +25,20 @@ USE_X_PREFIX= yes USE_GNOME= gtk12 GNU_CONFIGURE= yes +PLIST_FILES= bin/bbapm share/bbtools/README.bbapm share/bbtools/bbapm.conf \ + share/bbtools/bbapm.nobb share/bbtools/bbapm.style \ + share/bbtools/bbtoolsrc.in + do-install: - @${INSTALL} ${COPY} ${STRIP} -o ${BINOWN} -g operator \ + ${INSTALL} ${COPY} ${STRIP} -o ${BINOWN} -g operator \ -m 2555 ${WRKSRC}/bbapm ${PREFIX}/bin @${MKDIR} ${PREFIX}/share/bbtools .for a in README.bbapm bbapm.conf bbapm.nobb bbapm.style bbtoolsrc.in - @${INSTALL_DATA} ${WRKSRC}/data/${a} ${PREFIX}/share/bbtools + ${INSTALL_DATA} ${WRKSRC}/data/${a} ${PREFIX}/share/bbtools .endfor +post-install: + @${ECHO_CMD} "@unexec rmdir %D/share/bbtools 2>/dev/null || true" \ + >> ${TMPPLIST} + .include <bsd.port.mk> diff --git a/sysutils/bbapm/pkg-descr b/sysutils/bbapm/pkg-descr index a53ed0d867ac..212bd9784d9f 100644 --- a/sysutils/bbapm/pkg-descr +++ b/sysutils/bbapm/pkg-descr @@ -2,6 +2,6 @@ bbapm is an APM meter for Blackbox, designed to be a part of the Blackbox Slit, although it will still function as a stand-alone tool. -WWW: http://bbtools.windsofstorm.net/ +WWW: http://bbtools.sourceforge.net/ - Adam Weinberger <adamw@FreeBSD.org> diff --git a/sysutils/bbapm/pkg-plist b/sysutils/bbapm/pkg-plist deleted file mode 100644 index feaad7ba06b4..000000000000 --- a/sysutils/bbapm/pkg-plist +++ /dev/null @@ -1,7 +0,0 @@ -bin/bbapm -share/bbtools/README.bbapm -share/bbtools/bbapm.conf -share/bbtools/bbapm.nobb -share/bbtools/bbapm.style -share/bbtools/bbtoolsrc.in -@unexec rmdir %D/share/bbtools 2>/dev/null || true |