diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2014-02-21 17:14:54 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2014-02-21 17:14:54 +0800 |
commit | 6b3b7f7b2384e83981ad216c271ce471ab73f234 (patch) | |
tree | 713df22c3ed218b0cbb215873db31d0d78de3d50 /mail/mmr | |
parent | 465b62bf8f8f4feb574f9d5092fd3276d55b74a5 (diff) | |
download | freebsd-ports-gnome-6b3b7f7b2384e83981ad216c271ce471ab73f234.tar.gz freebsd-ports-gnome-6b3b7f7b2384e83981ad216c271ce471ab73f234.tar.zst freebsd-ports-gnome-6b3b7f7b2384e83981ad216c271ce471ab73f234.zip |
Support staging
Diffstat (limited to 'mail/mmr')
-rw-r--r-- | mail/mmr/Makefile | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/mail/mmr/Makefile b/mail/mmr/Makefile index 50daa850450f..e4662ab67d5c 100644 --- a/mail/mmr/Makefile +++ b/mail/mmr/Makefile @@ -11,7 +11,6 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Curses based MIME Mail Reader LICENSE= GPLv2 -LICENSE_FILE= ${WRKSRC}/COPYING USES= iconv MAKE_ARGS= LIBS='${LDFLAGS}' CXX='${CXX}' CXXFLAGS='${CXXFLAGS}' @@ -27,21 +26,19 @@ CXXFLAGS+= -DTHREADMAIL \ -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB} -lcurses -lmd -NO_STAGE= yes +OPTIONS_DEFINE= DOCS EXAMPLES + post-patch: @${REINPLACE_CMD} -e 's|md5/libmd5.a||g' ${WRKSRC}/Makefile do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/mmr ${PREFIX}/bin -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} + ${INSTALL_PROGRAM} ${WRKSRC}/mmr ${STAGEDIR}${PREFIX}/bin + ${MKDIR} ${STAGEDIR}${DOCSDIR} .for file in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR} .endfor -.endif -.if !defined(NOPORTEXAMPLES) - @${MKDIR} ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/DOT-mmrc ${EXAMPLESDIR}/dot.mmrc.sample -.endif + ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/DOT-mmrc \ + ${STAGEDIR}${EXAMPLESDIR}/dot.mmrc.sample .include <bsd.port.mk> |