aboutsummaryrefslogtreecommitdiff
path: root/net/phamm
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2014-06-23 14:07:23 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2014-06-23 14:07:23 +0000
commit63f3372339515fa5c625893dc35c40c4ee67db8e (patch)
treecc1e531e3cebf888c7948ab7c99e4cba75bd1411 /net/phamm
parentb93871df467a9dfe4330ef31563fbcff6edfdec4 (diff)
Stagify.
Approved by: portmgr@
Notes
Notes: svn path=/head/; revision=358957
Diffstat (limited to 'net/phamm')
-rw-r--r--net/phamm/Makefile20
1 files changed, 8 insertions, 12 deletions
diff --git a/net/phamm/Makefile b/net/phamm/Makefile
index 1ec1879448e4..4e9e5199c215 100644
--- a/net/phamm/Makefile
+++ b/net/phamm/Makefile
@@ -23,27 +23,23 @@ PLIST_SUB= PHAMMDIR=${PHAMMDIR}
PORTDOCS= CHANGELOG INSTALL README LICENSE THANKS
-NO_STAGE= yes
.include <bsd.port.pre.mk>
do-install:
- @${MKDIR} ${PREFIX}/${PHAMMDIR}
- @${MKDIR} ${EXAMPLESDIR}
- @${CP} -Rv ${WRKSRC}/examples/* ${EXAMPLESDIR}
- @${CP} -Rv ${SCHEMADIR} ${EXAMPLESDIR}
- @${INSTALL_DATA} ${WRKSRC}/index.php ${PREFIX}/${PHAMMDIR}
+ @${MKDIR} ${STAGEDIR}${PREFIX}/${PHAMMDIR}
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ @${CP} -Rv ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
+ @${CP} -Rv ${SCHEMADIR} ${STAGEDIR}${EXAMPLESDIR}
+ @${INSTALL_DATA} ${WRKSRC}/index.php ${STAGEDIR}${PREFIX}/${PHAMMDIR}
@for d in `${FIND} ${WRKSRC} -type d -depth 1 | ${SORT} -r | \
${EGREP} -v '(examples|cfg|schema|debian|server)'` ; do \
- ${CP} -Rv $$d ${PREFIX}/${PHAMMDIR}; \
+ ${CP} -Rv $$d ${STAGEDIR}${PREFIX}/${PHAMMDIR}; \
done;
.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
.endif
-post-install:
- @${CAT} ${PKGMESSAGE}
-
.include <bsd.port.post.mk>