svn commit: r348462 - head/mail/gml
Emanuel Haupt
ehaupt at FreeBSD.org
Mon Mar 17 10:25:00 UTC 2014
Author: ehaupt
Date: Mon Mar 17 10:24:59 2014
New Revision: 348462
URL: http://svnweb.freebsd.org/changeset/ports/348462
QAT: https://qat.redports.org/buildarchive/r348462/
Log:
Support staging
Modified:
head/mail/gml/Makefile
Modified: head/mail/gml/Makefile
==============================================================================
--- head/mail/gml/Makefile Mon Mar 17 10:15:23 2014 (r348461)
+++ head/mail/gml/Makefile Mon Mar 17 10:24:59 2014 (r348462)
@@ -20,23 +20,18 @@ PLIST_FILES= bin/${PORTNAME}
PORTDOCS= README
-NO_STAGE= yes
-
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
-
post-patch:
@${REINPLACE_CMD} -e 's|.exe||g' \
-e 's|"c:\\mail\\Inbox.*"|/home/user/Inbox|g' ${WRKDIR}/*
do-install:
- @${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.py ${PREFIX}/bin/${PORTNAME}
-.if ${PORT_OPTIONS:MDOCS}
- @${INSTALL} -d ${DOCSDIR}
+ ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.py \
+ ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ${PORTDOCS}
- @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor
-.endif
.include <bsd.port.mk>
More information about the svn-ports-head
mailing list