aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/bbapm
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-08-11 02:38:33 +0800
committerkrion <krion@FreeBSD.org>2004-08-11 02:38:33 +0800
commit41f0375dd51ff97759a907c4891727ecd62b621d (patch)
tree133d2e4daf15dfc48316acc62852439748c85a32 /sysutils/bbapm
parent9d0c9e2adc1b8ae470ca678ac468d141e2acd713 (diff)
downloadfreebsd-ports-gnome-41f0375dd51ff97759a907c4891727ecd62b621d.tar.gz
freebsd-ports-gnome-41f0375dd51ff97759a907c4891727ecd62b621d.tar.zst
freebsd-ports-gnome-41f0375dd51ff97759a907c4891727ecd62b621d.zip
Update MASTER_SITES and WWW: line
Support PLIST_FILES PR: ports/70265 Submitted by: Ports Fury
Diffstat (limited to 'sysutils/bbapm')
-rw-r--r--sysutils/bbapm/Makefile18
-rw-r--r--sysutils/bbapm/pkg-descr2
-rw-r--r--sysutils/bbapm/pkg-plist7
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