mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-12 07:27:57 +00:00
- Add stage support
This commit is contained in:
parent
9da44b1c71
commit
8f41c7993d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=333962
@ -12,7 +12,7 @@ EXTRACT_SUFX= .tar.Z
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Mahjongg for XView with multicolored tiles
|
||||
|
||||
LIB_DEPENDS= xview:${PORTSDIR}/x11-toolkits/xview
|
||||
LIB_DEPENDS= libxview.so:${PORTSDIR}/x11-toolkits/xview
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
@ -22,12 +22,9 @@ MAKE_ENV= OPENWINHOME="${LOCALBASE}" MKDIR="${MKDIR}"
|
||||
ALL_TARGET= mahjongg.swap
|
||||
MAKE_JOBS_UNSAFE= yes
|
||||
|
||||
MAN6= xvmahjongg.6
|
||||
PORTDOCS= Notes README README.too
|
||||
PLIST_FILES= bin/xvmahjongg
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.options.mk>
|
||||
PLIST_FILES= bin/xvmahjongg \
|
||||
man/man6/xvmahjongg.6.gz
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e \
|
||||
@ -40,14 +37,12 @@ post-patch:
|
||||
|
||||
do-install:
|
||||
(cd ${WRKSRC} && ${INSTALL_PROGRAM} mahjongg \
|
||||
${PREFIX}/bin/xvmahjongg)
|
||||
${STAGEDIR}${PREFIX}/bin/xvmahjongg)
|
||||
(cd ${WRKSRC} && ${INSTALL_MAN} mahjongg.6 \
|
||||
${MAN6PREFIX}/man/man6/xvmahjongg.6)
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
${STAGEDIR}${MAN6PREFIX}/man/man6/xvmahjongg.6)
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
.for i in ${PORTDOCS}
|
||||
(cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${DOCSDIR})
|
||||
(cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${STAGEDIR}${DOCSDIR})
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user