diff options
Diffstat (limited to 'mail/wmpop3/Makefile')
-rw-r--r-- | mail/wmpop3/Makefile | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/mail/wmpop3/Makefile b/mail/wmpop3/Makefile index 57dc247b92e5..0b65a15328e1 100644 --- a/mail/wmpop3/Makefile +++ b/mail/wmpop3/Makefile @@ -13,24 +13,23 @@ DISTNAME= WMPop3-${PORTVERSION} MAINTAINER= jim@FreeBSD.org -USE_GMAKE= yes WRKSRC= ${WRKDIR}/${PKGNAME}/wmpop3 + USE_X_PREFIX= yes USE_XPM= yes +ALL_TARGET= clean all -.include <bsd.port.pre.mk> - -pre-build: - (cd ${WRKSRC} && ${GMAKE} clean) - -post-install: +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/wmpop3 ${PREFIX}/bin @${ECHO} "===> Installing wmpop3rc in ${PREFIX}/share/examples/wmpop3" @${ECHO} "===> Modify to your config and copy to ~/.wmpop3rc" - @${MKDIR} ${PREFIX}/share/examples/wmpop3 && ${CHMOD} a+rx ${PREFIX}/share/examples/wmpop3 - @${INSTALL_DATA} ${WRKSRC}/wmpop3rc ${PREFIX}/share/examples/wmpop3 + @${MKDIR} ${PREFIX}/share/examples/wmpop3 + ${INSTALL_DATA} ${WRKSRC}/wmpop3rc ${PREFIX}/share/examples/wmpop3 +.if !defined(NOPORTDOCS) @${ECHO} "===> Installing README in ${PREFIX}/share/doc/wmpop3" @${ECHO} "===> Please read it for usage instructions" - @${MKDIR} ${PREFIX}/share/doc/wmpop3 && ${CHMOD} a+rx ${PREFIX}/share/doc/wmpop3 - @${INSTALL_DATA} ${WRKDIR}/${PKGNAME}/README ${PREFIX}/share/doc/wmpop3 + @${MKDIR} ${PREFIX}/share/doc/wmpop3 + ${INSTALL_DATA} ${WRKDIR}/${PKGNAME}/README ${PREFIX}/share/doc/wmpop3 +.endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> |