summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2014-03-01 21:13:14 +0000
committerJohn Marino <marino@FreeBSD.org>2014-03-01 21:13:14 +0000
commit2c4da57ad2666a12bcf1d6d88a487ac746fb4897 (patch)
treecd2575503d27b7f9c2f0c522935c2772173f2e02 /audio
parentsysutils/metalog: Fix build on DragonFly (diff)
audio/autocd: Complete stage support
The vendor makefile doesn't contain the word "DESTDIR" so it's pretty clear why the first attempt at staging this port failed. Complete staging by using the do-install target to install everything.
Notes
Notes: svn path=/head/; revision=346720
Diffstat (limited to 'audio')
-rw-r--r--audio/autocd/Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/audio/autocd/Makefile b/audio/autocd/Makefile
index 7af78550b167..0da5f9b611e7 100644
--- a/audio/autocd/Makefile
+++ b/audio/autocd/Makefile
@@ -3,7 +3,7 @@
PORTNAME= autocd
PORTVERSION= 3.02.12b
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= audio sysutils
MASTER_SITES= ftp://kot.spb.ru/pub/src/projects/autocd/
@@ -18,7 +18,16 @@ USE_RC_SUBR= autocd
OPTIONS_DEFINE= DOCS
-post-install:
+do-install:
+ @(cd ${WRKSRC} && ${INSTALL_PROGRAM} acdplay cdctl \
+ ${STAGEDIR}${PREFIX}/bin/)
+ ${INSTALL_PROGRAM} ${WRKSRC}/autocd ${STAGEDIR}${PREFIX}/sbin
+ @(cd ${STAGEDIR}${PREFIX}/bin && \
+ ln -s cdctl pause && \
+ ln -s cdctl eject)
+ @(cd ${WRKSRC} && ${INSTALL_MAN} acdplay.1 cdctl.1 \
+ ${STAGEDIR}${PREFIX}/man/man1/)
+ ${INSTALL_MAN} ${WRKSRC}/autocd.8 ${STAGEDIR}${PREFIX}/man/man8/
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}