diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2013-10-22 07:50:02 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2013-10-22 07:50:02 +0000 |
commit | 4416ca64fdd6b1d6798217eea130b5125d8a66ed (patch) | |
tree | 55d63172f72aaba1385ee0e0c7a5b7cbcafd1a3c /sysutils/dvd+rw-tools | |
parent | 30268f157276c6a1805b1207fbae6fc8834eb7c2 (diff) | |
download | ports-4416ca64fdd6b1d6798217eea130b5125d8a66ed.tar.gz ports-4416ca64fdd6b1d6798217eea130b5125d8a66ed.zip |
Notes
Diffstat (limited to 'sysutils/dvd+rw-tools')
-rw-r--r-- | sysutils/dvd+rw-tools/Makefile | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/sysutils/dvd+rw-tools/Makefile b/sysutils/dvd+rw-tools/Makefile index 39d0e71ebc23..caf103aeaade 100644 --- a/sysutils/dvd+rw-tools/Makefile +++ b/sysutils/dvd+rw-tools/Makefile @@ -19,29 +19,25 @@ RUN_DEPENDS= cdrecord:${PORTSDIR}/sysutils/cdrtools # but returns success right away. # Using gmake bypasses this problem for unknown reasons. Please leave it in, # until the problem is analyzed and fixed - and please comment the fix here. -USE_GMAKE= yes +USES= gmake -MAN1= growisofs.1 BIN_FILES= growisofs dvd+rw-format dvd+rw-booktype dvd+rw-mediainfo dvd-ram-control -PLIST_FILES= ${BIN_FILES:S|^|bin/|} +PLIST_FILES= ${BIN_FILES:S|^|bin/|} \ + man/man1/growisofs.1.gz PORTDOCS= index.html -NO_STAGE= yes -.include <bsd.port.options.mk> +OPTIONS_DEFINE= DOCS +OPTIONS_DEFAULT=DOCS post-patch: @${REINPLACE_CMD} -e 's/-O2//' ${WRKSRC}/Makefile.m4 do-install: .for i in ${BIN_FILES} - ${INSTALL_PROGRAM} ${WRKSRC}/${i} ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/${i} ${STAGEDIR}${PREFIX}/bin .endfor - ${INSTALL_MAN} ${WRKSRC}/growisofs.1 ${MANPREFIX}/man/man1/ - -post-install: -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - ${INSTALL_MAN} ${WRKSRC}/index.html ${DOCSDIR} -.endif + ${INSTALL_MAN} ${WRKSRC}/growisofs.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/ + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_MAN} ${WRKSRC}/index.html ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> |