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:
parent
eaa48b14de
commit
b3aa8f4725
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=354162
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user