aboutsummaryrefslogtreecommitdiff
path: root/sysutils/mybashburn
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2014-06-27 14:00:20 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2014-06-27 14:00:20 +0000
commit643804c3dbefe8b440de44971c6cc2f6a482e9e7 (patch)
tree8ddfba5dee6f62352c70435a032a1d29bcdfc839 /sysutils/mybashburn
parentd77cf83e7e1304bb28d4b3cc8f95ee43e6182e28 (diff)
downloadports-643804c3dbefe8b440de44971c6cc2f6a482e9e7.tar.gz
ports-643804c3dbefe8b440de44971c6cc2f6a482e9e7.zip
Notes
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