diff options
Diffstat (limited to 'editors/mg/Makefile')
-rw-r--r-- | editors/mg/Makefile | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/editors/mg/Makefile b/editors/mg/Makefile index 0644c4bd0e5e..8d1a4bba9b19 100644 --- a/editors/mg/Makefile +++ b/editors/mg/Makefile @@ -10,28 +10,24 @@ MASTER_SITES= ftp://ftp.SpringDaemons.com/soft/ \ MAINTAINER= darcsis@gmail.com COMMENT= A small, fast Emacs-like editor -MAN1= mg.1 -MANCOMPRESSED= no - -PLIST_FILES= bin/mg +PLIST_FILES= bin/mg man/man1/mg.1.gz PORTDOCS= README tutorial HAS_CONFIGURE= yes -NO_STAGE= yes +OPTIONS_DEFINE= DOCS + pre-configure: @${REINPLACE_CMD} -e 's|-Wno-error=unused-but-set-variable||g' \ -e '/^CC=/d' -e 's|-g -Wall|-Wall|' -e 's|/usr/local|${PREFIX}|' \ ${WRKSRC}/Makefile.in do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MAN1PREFIX}/man/man1 -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 + ${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor -.endif .include <bsd.port.mk> |