diff options
author | maho <maho@FreeBSD.org> | 2011-05-11 16:02:24 +0800 |
---|---|---|
committer | maho <maho@FreeBSD.org> | 2011-05-11 16:02:24 +0800 |
commit | b7062d743ba03b26dc7eda45a0178c04d82786c3 (patch) | |
tree | b35be15686f547733005d560313054e48142e089 | |
parent | 0f447debcfac24a7919c6eb4e688f38470144b77 (diff) | |
download | freebsd-ports-gnome-b7062d743ba03b26dc7eda45a0178c04d82786c3.tar.gz freebsd-ports-gnome-b7062d743ba03b26dc7eda45a0178c04d82786c3.tar.zst freebsd-ports-gnome-b7062d743ba03b26dc7eda45a0178c04d82786c3.zip |
Fix build.
Spotted by: pav
-rw-r--r-- | x11/mxico/Makefile | 20 | ||||
-rw-r--r-- | x11/mxico/pkg-plist | 6 |
2 files changed, 8 insertions, 18 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> diff --git a/x11/mxico/pkg-plist b/x11/mxico/pkg-plist index 615143debd1a..22971e5f3bfc 100644 --- a/x11/mxico/pkg-plist +++ b/x11/mxico/pkg-plist @@ -1,4 +1,4 @@ bin/mxico -%%DOCSDIR%%/README -%%DOCSDIR%%/READMEj -@dirrm %%DOCSDIR%% +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/READMEj +%%PORTDOCS%%@dirrm %%DOCSDIR%% |