diff options
author | Emanuel Haupt <ehaupt@FreeBSD.org> | 2014-02-21 09:14:54 +0000 |
---|---|---|
committer | Emanuel Haupt <ehaupt@FreeBSD.org> | 2014-02-21 09:14:54 +0000 |
commit | a8735ef92086593433687479cc87d70da8b697bf (patch) | |
tree | 713df22c3ed218b0cbb215873db31d0d78de3d50 | |
parent | 82d14c4c69060ac287a70ba026f2e2f4ad52d2b4 (diff) | |
download | ports-a8735ef92086593433687479cc87d70da8b697bf.tar.gz ports-a8735ef92086593433687479cc87d70da8b697bf.zip |
Notes
-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> |