aboutsummaryrefslogtreecommitdiff
path: root/audio/ripit
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2014-05-12 01:08:26 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2014-05-12 01:08:26 +0000
commitc323274abb517b5ac1c53f128ef315cd67111da0 (patch)
tree273f2e317799c918f7732463b087e807eeaf92fc /audio/ripit
parentc825851c5052ce268752d55a4d2b4187ec6c1de5 (diff)
downloadports-c323274abb517b5ac1c53f128ef315cd67111da0.tar.gz
ports-c323274abb517b5ac1c53f128ef315cd67111da0.zip
Notes
Diffstat (limited to 'audio/ripit')
-rw-r--r--audio/ripit/Makefile26
-rw-r--r--audio/ripit/pkg-plist4
2 files changed, 12 insertions, 18 deletions
diff --git a/audio/ripit/Makefile b/audio/ripit/Makefile
index 6f4382f9f37a..b33f59171d88 100644
--- a/audio/ripit/Makefile
+++ b/audio/ripit/Makefile
@@ -10,38 +10,28 @@ MASTER_SITES= http://www.suwald.com/ripit/
MAINTAINER= tobias.rehbein@web.de
COMMENT= Command line audio CD ripper
+LICENSE= GPLv2
+
# See pkg-message about other dependencies.
RUN_DEPENDS= p5-CDDB_get>=0:${PORTSDIR}/audio/p5-CDDB_get \
p5-libwww>=0:${PORTSDIR}/www/p5-libwww \
p5-WebService-MusicBrainz>=0:${PORTSDIR}/www/p5-WebService-MusicBrainz \
p5-MusicBrainz-DiscID>=0:${PORTSDIR}/audio/p5-MusicBrainz-DiscID \
lame:${PORTSDIR}/audio/lame \
- cdparanoia:${PORTSDIR}/audio/cdparanoia \
+ cdparanoia:${PORTSDIR}/audio/cdparanoia
-USES= perl5 shebangfix
-NO_STAGE= yes
+USES= perl5 shebangfix tar:bzip2
NO_BUILD= yes
-PLIST_FILES= bin/ripit
-MAN1= ripit.1
-PORTEXAMPLES= config
USE_PERL5= run
-USE_BZIP2= yes
SHEBANG_FILES= ripit.pl
perl_OLD_CMD= /usr/bin/env perl
OPTIONS_DEFINE= EXAMPLES
-.include <bsd.port.options.mk>
-
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/ripit.pl ${PREFIX}/bin/ripit
- ${INSTALL_MAN} ${WRKSRC}/ripit.1 ${MAN1PREFIX}/man/man1
-.if ${PORT_OPTIONS:MEXAMPLES}
- ${MKDIR} ${EXAMPLESDIR}/
- ${INSTALL_DATA} ${WRKSRC}/config ${EXAMPLESDIR}/config
-.endif
-
-post-install:
- @${CAT} ${PKGMESSAGE}
+ ${INSTALL_SCRIPT} ${WRKSRC}/ripit.pl ${STAGEDIR}${PREFIX}/bin/ripit
+ ${INSTALL_MAN} ${WRKSRC}/ripit.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
+ ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
+ ${INSTALL_DATA} ${WRKSRC}/config ${STAGEDIR}${EXAMPLESDIR}/config
.include <bsd.port.mk>
diff --git a/audio/ripit/pkg-plist b/audio/ripit/pkg-plist
new file mode 100644
index 000000000000..5b9e290ecad3
--- /dev/null
+++ b/audio/ripit/pkg-plist
@@ -0,0 +1,4 @@
+bin/ripit
+man/man1/ripit.1.gz
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/config
+%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%