diff options
author | adamw <adamw@FreeBSD.org> | 2014-01-03 23:26:06 +0800 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2014-01-03 23:26:06 +0800 |
commit | 855b8f9eb8b6c8d2ac7ab50561b4fcac8c30ac99 (patch) | |
tree | bc69c025c1ff53d7dce410b1f29dea3232181f67 /audio/eawpats/Makefile | |
parent | d62f31863259e22aad489e1d7c5e0045037951d4 (diff) | |
download | freebsd-ports-gnome-855b8f9eb8b6c8d2ac7ab50561b4fcac8c30ac99.tar.gz freebsd-ports-gnome-855b8f9eb8b6c8d2ac7ab50561b4fcac8c30ac99.tar.zst freebsd-ports-gnome-855b8f9eb8b6c8d2ac7ab50561b4fcac8c30ac99.zip |
Convert to PORT_OPTIONS:MDOCS.
Holdout shame list: ruby, perl, python
Diffstat (limited to 'audio/eawpats/Makefile')
-rw-r--r-- | audio/eawpats/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/audio/eawpats/Makefile b/audio/eawpats/Makefile index 34833b0b864a..550c0e527611 100644 --- a/audio/eawpats/Makefile +++ b/audio/eawpats/Makefile @@ -23,6 +23,8 @@ DOC_SUBDIRS= ethnic gsdrum08 gsdrum25 gsdrum40 power wime WRKSRC= ${WRKDIR}/${PORTNAME} TIMIDITY_DATADIR= ${PREFIX}/share/timidity +.include <bsd.port.options.mk> + post-patch: @${REINPLACE_CMD} -e 's|/home/user/eawpats|${DATADIR}|' ${WRKSRC}/linuxconfig/timidity.cfg @@ -37,7 +39,7 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/linuxconfig/timidity.cfg ${TIMIDITY_DATADIR}/timidity.cfg-eawpats [ -f ${TIMIDITY_DATADIR}/timidity.cfg ] || \ ${INSTALL_DATA} ${WRKSRC}/linuxconfig/timidity.cfg ${TIMIDITY_DATADIR}/timidity.cfg -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} ${INSTALL_MAN} ${WRKSRC}/*.txt ${WRKSRC}/*.hlp ${DOCSDIR} .for subdir in ${DOC_SUBDIRS} |