aboutsummaryrefslogtreecommitdiff
path: root/comms/ebook2cw
diff options
context:
space:
mode:
authorDiane Bruce <db@FreeBSD.org>2013-12-29 00:33:17 +0000
committerDiane Bruce <db@FreeBSD.org>2013-12-29 00:33:17 +0000
commitf7c9618098a7677f677a48453d40578a55acb84d (patch)
tree912c333f44a5e398dbfd169242c9ee0ef11b61b0 /comms/ebook2cw
parent9349b8e2308a0f14fe8e4d786f51a44f710e4920 (diff)
downloadports-f7c9618098a7677f677a48453d40578a55acb84d.tar.gz
ports-f7c9618098a7677f677a48453d40578a55acb84d.zip
Notes
Diffstat (limited to 'comms/ebook2cw')
-rw-r--r--comms/ebook2cw/Makefile21
-rw-r--r--comms/ebook2cw/pkg-plist1
2 files changed, 9 insertions, 13 deletions
diff --git a/comms/ebook2cw/Makefile b/comms/ebook2cw/Makefile
index 6c86c4493408..da9e8887113d 100644
--- a/comms/ebook2cw/Makefile
+++ b/comms/ebook2cw/Makefile
@@ -10,29 +10,24 @@ MASTER_SITE_SUBDIR= db
MAINTAINER= db@FreeBSD.org
COMMENT= Convert text files into cw as an mp3 or ogg file
+LICENSE= GPLv2
+
LIB_DEPENDS= libmp3lame.so:${PORTSDIR}/audio/lame \
libvorbis.so:${PORTSDIR}/audio/libvorbis
-MAN1= ebook2cw.1
-
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|'g \
${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|'g \
${WRKSRC}/Makefile
do-install:
- @${INSTALL_SCRIPT} ${WRKSRC}/ebook2cw ${PREFIX}/bin/ebook2cw
- @${INSTALL_DATA} ${WRKSRC}/ebook2cw.1 ${MANPREFIX}/man/man1
-.if !defined(NOPORTEXAMPLES)
- @${MKDIR} ${EXAMPLESDIR}
+ @${INSTALL_SCRIPT} ${WRKSRC}/ebook2cw ${STAGEDIR}${PREFIX}/bin/ebook2cw
+ @${INSTALL_DATA} ${WRKSRC}/ebook2cw.1 ${STAGEDIR}${PREFIX}/man/man1
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
.for f in ebook2cw.conf isomap.txt utf8map.txt
- @${INSTALL_DATA} ${WRKSRC}/$f ${EXAMPLESDIR}/$f
+ @${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${EXAMPLESDIR}/$f
.endfor
-.endif
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
-.endif
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
diff --git a/comms/ebook2cw/pkg-plist b/comms/ebook2cw/pkg-plist
index 2f8f04ad0614..d0322161e5fd 100644
--- a/comms/ebook2cw/pkg-plist
+++ b/comms/ebook2cw/pkg-plist
@@ -1,4 +1,5 @@
bin/ebook2cw
+man/man1/ebook2cw.1.gz
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ebook2cw.conf
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/isomap.txt
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/utf8map.txt