Date: Thu, 20 Mar 2014 10:22:15 +0000 (UTC) From: Emanuel Haupt <ehaupt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r348677 - head/mail/gotmail Message-ID: <201403201022.s2KAMFcX064181@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ehaupt Date: Thu Mar 20 10:22:15 2014 New Revision: 348677 URL: http://svnweb.freebsd.org/changeset/ports/348677 QAT: https://qat.redports.org/buildarchive/r348677/ Log: - Support staging - Use shebangfix - Define DOCS option Deleted: head/mail/gotmail/pkg-plist Modified: head/mail/gotmail/Makefile Modified: head/mail/gotmail/Makefile ============================================================================== --- head/mail/gotmail/Makefile Thu Mar 20 10:15:01 2014 (r348676) +++ head/mail/gotmail/Makefile Thu Mar 20 10:22:15 2014 (r348677) @@ -14,21 +14,21 @@ RUN_DEPENDS= curl:${PORTSDIR}/ftp/curl \ p5-URI>=0:${PORTSDIR}/net/p5-URI \ p5-Net>=0:${PORTSDIR}/net/p5-Net -MAN1= ${PORTNAME}.1 -USES= perl5 +USES= perl5 shebangfix + +PLIST_FILES= bin/gotmail man/man1/gotmail.1.gz +SHEBANG_FILES= gotmail +PORTDOCS= ChangeLog README sample.gotmailrc + +OPTIONS_DEFINE= DOCS -NO_STAGE= yes do-install: ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.man \ - ${MANPREFIX}/man/man1/${PORTNAME}.1 - ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin - -post-install: -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} -.for i in ChangeLog README sample.gotmailrc - ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} -.endfor # i in ChangeLog README sample.gotmailrc -.endif # !defined(NOPORTDOCS) + ${STAGEDIR}${MANPREFIX}/man/man1/${PORTNAME}.1 + ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + @${MKDIR} ${STAGEDIR}${DOCSDIR} +.for f in ${PORTDOCS} + ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} +.endfor .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403201022.s2KAMFcX064181>