diff options
author | FUJISHIMA Satsuki <sf@FreeBSD.org> | 2001-07-27 21:41:33 +0000 |
---|---|---|
committer | FUJISHIMA Satsuki <sf@FreeBSD.org> | 2001-07-27 21:41:33 +0000 |
commit | 366437ddfd8c2a71080b0858c075355ffdf0f2c2 (patch) | |
tree | 17eb640b4e017ba8d3104fc7d91cbbf4c15fa215 | |
parent | Add NOPORTDOCS support (diff) |
o fix build for XFree86-4.
PR: 29256
Submitted by: Richard Wiwatowski <rjwiwat@betalogic.com.au>
o getting rid of dependency on -clients. (rman is now part of imake-4.)
o use pre/post.mk to simplify testing.
Notes
Notes:
svn path=/head/; revision=45549
-rw-r--r-- | audio/xmcd/Makefile | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/audio/xmcd/Makefile b/audio/xmcd/Makefile index 6da980372a7f..085a2a69a04f 100644 --- a/audio/xmcd/Makefile +++ b/audio/xmcd/Makefile @@ -13,10 +13,6 @@ MASTER_SITES= http://www.ibiblio.org/tkan/download/xmcd/src/ MAINTAINER= eischen@vigrid.com -.if defined(XFREE86_VERSION) && ${XFREE86_VERSION} == 4 -BUILD_DEPENDS= ${RMAN}:${PORTSDIR}/x11/XFree86-4-clients -.endif - USE_MOTIF= yes USE_IMAKE= yes WRKSRC= $(WRKDIR)/xmcd-3.0 @@ -26,6 +22,8 @@ MAN1= cda.1 xmcd.1 MANCOMPRESSED= no RMAN= ${X11BASE}/bin/rman +.include <bsd.port.pre.mk> + post-extract: @${CHMOD} -R u+w ${WRKSRC} @@ -36,29 +34,24 @@ post-patch: @${SED} -e "s;@PREFIX@;${PREFIX};g" ${WRKSRC}/xmcd_d/XMcd.ad.in \ > ${WRKSRC}/xmcd_d/XMcd.ad -.if defined(XFREE86_VERSION) && ${XFREE86_VERSION} == 4 +.if ${XFREE86_VERSION} == 4 post-build: (cd ${WRKSRC}; \ for i in xmcd cda; do \ ${RM} -f $${i}-1.html; \ ${RMAN} -f HTML < $${i}_d/$${i}.man > $${i}-1.html && \ ${MV} $${i}-1.html $${i}.1.html; \ - done; \ - for i in cddbcmd dp2xmcd wm2xmcd; do \ - ${RM} -f $${i}-1.html; \ - ${RMAN} -f HTML < util_d/$${i}.man > $${i}-1.html && \ - ${MV} $${i}-1.html $${i}.1.html; \ done) .endif post-install: @${CAT} ${PKGMESSAGE} @${CP} ${WRKSRC}/xmcd_d/XMcd.ad ${PREFIX}/lib/X11/app-defaults/XMcd -.if defined(XFREE86_VERSION) && ${XFREE86_VERSION} == 4 +.if ${XFREE86_VERSION} == 4 (cd ${WRKSRC}; \ - for i in xmcd cda cddbcmd dp2xmcd wm2xmcd; do \ + for i in xmcd cda; do \ ${INSTALL_MAN} $${i}.1.html ${PREFIX}/lib/X11/doc/html; \ done) .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> |