aboutsummaryrefslogtreecommitdiff
path: root/x11/mxico/Makefile
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2011-05-11 08:02:24 +0000
committerMaho Nakata <maho@FreeBSD.org>2011-05-11 08:02:24 +0000
commit2a025d13d0a1d7dad12e02b1414876b726fd9919 (patch)
tree946853f812453aba106397ff1a8b2a8c515a365b /x11/mxico/Makefile
parent02bb12d4229e303c138745f67f6d5af5cbbff794 (diff)
downloadports-2a025d13d0a1d7dad12e02b1414876b726fd9919.tar.gz
ports-2a025d13d0a1d7dad12e02b1414876b726fd9919.zip
Notes
Diffstat (limited to 'x11/mxico/Makefile')
-rw-r--r--x11/mxico/Makefile20
1 files changed, 5 insertions, 15 deletions
diff --git a/x11/mxico/Makefile b/x11/mxico/Makefile
index b8c9f0f09555..422791339874 100644
--- a/x11/mxico/Makefile
+++ b/x11/mxico/Makefile
@@ -19,23 +19,13 @@ COMMENT= Rotating Object on the screen (Zalgaller polyhedra)
USE_IMAKE= yes
USE_XORG= x11 xext
WRKSRC= ${WRKDIR}/${PORTNAME}
-MAN6= mxico.6
-
-BROKEN= bad plist
-
-pre-build:
- @cd ${WRKSRC} && ${MV} Makefile Makefile~ && ${SED} \
- -e 's: BINDIR .*:BINDIR=${PREFIX}/bin:' \
- -e 's: MANDIR .*:MANDIR=${PREFIX}/man/man6:' \
- -e 's: MANSUFFIX .*:MANSUFFIX=6:' <Makefile~ >Makefile
-
-pre-install:
- @${MKDIR} ${PREFIX}/bin
- @${MKDIR} ${PREFIX}/man/man6
- @${MKDIR} ${DOCSDIR}
+MAN1= mxico.1
post-install:
- @(cd ${WRKSRC}; ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} install.man)
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
@(cd ${WRKSRC}; ${INSTALL_DATA} polyhedron/READMEj ${DOCSDIR})
@(cd ${WRKSRC}; ${INSTALL_DATA} polyhedron/README ${DOCSDIR})
+.endif
+
.include <bsd.port.mk>