aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/mybashburn
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2014-06-27 22:00:20 +0800
committervanilla <vanilla@FreeBSD.org>2014-06-27 22:00:20 +0800
commitdb780d532a8208f73dd6fd94f974de1c5feb0a40 (patch)
tree8ddfba5dee6f62352c70435a032a1d29bcdfc839 /sysutils/mybashburn
parent5f1227e12c3dab1497bdabdea01b99d6815b9dce (diff)
downloadfreebsd-ports-gnome-db780d532a8208f73dd6fd94f974de1c5feb0a40.tar.gz
freebsd-ports-gnome-db780d532a8208f73dd6fd94f974de1c5feb0a40.tar.zst
freebsd-ports-gnome-db780d532a8208f73dd6fd94f974de1c5feb0a40.zip
1: Stagify.
2: use @sample, bump version.
Diffstat (limited to 'sysutils/mybashburn')
-rw-r--r--sysutils/mybashburn/Makefile25
-rw-r--r--sysutils/mybashburn/pkg-plist3
2 files changed, 12 insertions, 16 deletions
diff --git a/sysutils/mybashburn/Makefile b/sysutils/mybashburn/Makefile
index 7cb2092c9d18..f444f06ba612 100644
--- a/sysutils/mybashburn/Makefile
+++ b/sysutils/mybashburn/Makefile
@@ -3,7 +3,7 @@
PORTNAME= mybashburn
PORTVERSION= 1.0.2
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= sysutils
MASTER_SITES= SF
@@ -11,13 +11,10 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Ncurses CD burning bash script
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash \
- cdialog:${PORTSDIR}/devel/cdialog
-
-RUN_DEPENDS= cdrecord:${PORTSDIR}/sysutils/cdrtools
+ cdialog:${PORTSDIR}/devel/cdialog \
+ cdrecord:${PORTSDIR}/sysutils/cdrtools
NO_BUILD= yes
-MAN1= mybashburn.1
-MANCOMPRESSED= yes
PORTDOCS= COPYING CREDITS ChangeLog FAQ FILES HOWTO INSTALL README TODO
OPTIONS_DEFINE= CDRDAO DVDTOOLS EJECT FLAC LAME MPG123 NORMALIZE SUDO VORBIS DOCS
@@ -28,7 +25,6 @@ EJECT_DESC= Ejecting the CD/DVD drive
NORMALIZE_DESC= An audio file volume normalizer
SUDO_DESC= To allow non-privileged users to burn CD's
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MCDRDAO}
@@ -66,15 +62,14 @@ post-patch:
${WRKSRC}/MyBashBurn.sh ${WRKSRC}/etc/mybashburnrc
do-install:
- ${MKDIR} ${DATADIR}
- ${INSTALL_MAN} ${WRKSRC}/man/mybashburn.1.gz ${MAN1PREFIX}/man/man1/
- ${INSTALL_SCRIPT} ${WRKSRC}/MyBashBurn.sh ${PREFIX}/bin/mybashburn
- ${INSTALL_DATA} ${WRKSRC}/etc/mybashburnrc ${PREFIX}/etc/mybashburnrc.sample
- @(cd ${WRKSRC}/ && ${COPYTREE_SHARE} "burning config convert lang menus misc" ${DATADIR}/)
-
+ ${MKDIR} ${STAGEDIR}${DATADIR}
+ ${INSTALL_MAN} ${WRKSRC}/man/mybashburn.1.gz ${STAGEDIR}${MAN1PREFIX}/man/man1/
+ ${INSTALL_SCRIPT} ${WRKSRC}/MyBashBurn.sh ${STAGEDIR}${PREFIX}/bin/mybashburn
+ ${INSTALL_DATA} ${WRKSRC}/etc/mybashburnrc ${STAGEDIR}${PREFIX}/etc/mybashburnrc.sample
+ @(cd ${WRKSRC}/ && ${COPYTREE_SHARE} "burning config convert lang menus misc" ${STAGEDIR}${DATADIR}/)
.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/
.endif
.include <bsd.port.mk>
diff --git a/sysutils/mybashburn/pkg-plist b/sysutils/mybashburn/pkg-plist
index f47939a45b6a..df42f8ff76da 100644
--- a/sysutils/mybashburn/pkg-plist
+++ b/sysutils/mybashburn/pkg-plist
@@ -1,5 +1,6 @@
bin/mybashburn
-etc/mybashburnrc.sample
+@sample etc/mybashburnrc.sample
+man/man1/mybashburn.1.gz
%%DATADIR%%/misc/variables.idx
%%DATADIR%%/misc/mount.sh
%%DATADIR%%/misc/commonfunctions.sh