1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

- Add staging support

- Convert to new options framework
This commit is contained in:
Pawel Pekala 2014-05-15 17:50:28 +00:00
parent eaa48b14de
commit b3aa8f4725
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=354162

View File

@ -15,20 +15,15 @@ MASTERDIR= ${.CURDIR}/../../deskutils/plan
PLIST= ${WRKDIR}/PLIST
EXTRA_PATCHES= ${.CURDIR}/files/patch-*
NO_STAGE= yes
PORTDOCS= plan_calEUC.ps
post-build:
.if !defined(NOPORTDOCS)
${ECHO_CMD} ${DOCSDIR:S|${PREFIX}/||}/plan_calEUC.ps > ${WRKDIR}/PLIST
.endif
${CAT} ${MASTERDIR}/pkg-plist >> ${WRKDIR}/PLIST
post-install:
@${MKDIR} ${DATADIR}/netplan.dir
${CHMOD} 1777 ${DATADIR}/netplan.dir
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${.CURDIR}/files/plan_calEUC.ps ${DOCSDIR}
.endif
@${MKDIR} ${STAGEDIR}${DATADIR}/netplan.dir
${CHMOD} 1777 ${STAGEDIR}${DATADIR}/netplan.dir
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${.CURDIR}/files/plan_calEUC.ps ${STAGEDIR}${DOCSDIR}
.include "${MASTERDIR}/Makefile"