mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
Use PORT_OPTIONS:MDOCS instead of NOPORTDOCS
Trim headers
This commit is contained in:
parent
6361c26b1b
commit
5f828e63a7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=309759
@ -1,9 +1,5 @@
|
||||
# New ports collection makefile for: eawplus
|
||||
# Date created: 2004/07/04
|
||||
# Whom: nork@FreeBSD.org
|
||||
#
|
||||
# Created by: nork@FreeBSD.org
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= eawplus
|
||||
PORTVERSION= 12.1
|
||||
@ -26,6 +22,8 @@ NO_WRKSUBDIR= yes
|
||||
TIMIDITY_DATADIR= share/timidity
|
||||
PLIST_SUB= TIMIDITY_DATADIR=${TIMIDITY_DATADIR}
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-extract:
|
||||
@${RM} -f ${WRKSRC}/timidity/inst/GUS/power/h-hihatp.pat.orig
|
||||
@${RM} -f ${WRKSRC}/timidity/inst/GUS/power/h-snare.pat.orig
|
||||
@ -41,7 +39,7 @@ do-install:
|
||||
@${MKDIR} ${PREFIX}/${TIMIDITY_DATADIR}
|
||||
@${INSTALL_DATA} ${WRKDIR}/timidity.cfg \
|
||||
${PREFIX}/${TIMIDITY_DATADIR}/timidity.cfg-eawplus
|
||||
.if !defined(NOPORTDOCS)
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
@${INSTALL_MAN} ${WRKSRC}/doc/*/*.txt.gz ${DOCSDIR}
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user