diff options
author | Bryan Drewery <bdrewery@FreeBSD.org> | 2018-02-20 22:45:24 +0000 |
---|---|---|
committer | Bryan Drewery <bdrewery@FreeBSD.org> | 2018-02-20 22:45:24 +0000 |
commit | 51fc1d5b8ca57d270de225b7ccb147c96c2e589d (patch) | |
tree | dce52373fec340e5a8d4815865e22640ffbe5985 /Mk/bsd.port.mk | |
parent | 9c48dd6d59a31463e0d6fcdf098d4c03845bd699 (diff) | |
download | ports-51fc1d5b8ca57d270de225b7ccb147c96c2e589d.tar.gz ports-51fc1d5b8ca57d270de225b7ccb147c96c2e589d.zip |
Notes
Diffstat (limited to 'Mk/bsd.port.mk')
-rw-r--r-- | Mk/bsd.port.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index 68e32103478b..de02b50fc18a 100644 --- a/Mk/bsd.port.mk +++ b/Mk/bsd.port.mk @@ -3642,11 +3642,12 @@ package-message: # Empty pre-* and post-* targets +.if exists(${SCRIPTDIR}) .for stage in pre post .for name in pkg check-sanity fetch extract patch configure build stage install package -.if exists(${SCRIPTDIR}/${stage}-${name}) .if !target(${stage}-${name}-script) +.if exists(${SCRIPTDIR}/${stage}-${name}) ${stage}-${name}-script: @ cd ${.CURDIR} && ${SETENV} ${SCRIPTS_ENV} ${SH} \ ${SCRIPTDIR}/${.TARGET:S/-script$//} @@ -3655,6 +3656,7 @@ ${stage}-${name}-script: .endfor .endfor +.endif .if !target(pretty-print-www-site) pretty-print-www-site: |