1995-02-17 05:53:08 -05:00
|
|
|
# New ports collection makefile for: xmcd
|
|
|
|
# Date created: 16 Februar 1995
|
1996-04-11 04:47:10 -04:00
|
|
|
# Whom: Gennady Sorokopud <gena@NetVision.net.il>
|
1995-02-17 05:53:08 -05:00
|
|
|
#
|
1999-08-25 00:36:31 -04:00
|
|
|
# $FreeBSD$
|
1995-02-17 05:53:08 -05:00
|
|
|
#
|
|
|
|
|
2000-04-08 17:25:03 -04:00
|
|
|
PORTNAME= xmcd
|
|
|
|
PORTVERSION= 2.6
|
2001-02-12 01:43:04 -05:00
|
|
|
PORTREVISION= 1
|
1996-11-15 18:14:56 -05:00
|
|
|
CATEGORIES= audio
|
2001-04-21 13:07:39 -04:00
|
|
|
MASTER_SITES= http://www.ibiblio.org/tkan/download/xmcd/src/
|
1995-02-17 05:53:08 -05:00
|
|
|
|
1998-11-10 19:30:42 -05:00
|
|
|
MAINTAINER= eischen@vigrid.com
|
1996-04-11 04:47:10 -04:00
|
|
|
|
2001-02-12 01:43:04 -05:00
|
|
|
.if defined(XFREE86_VERSION) && ${XFREE86_VERSION} == 4
|
|
|
|
BUILD_DEPENDS= ${RMAN}:${PORTSDIR}/x11/XFree86-4-clients
|
|
|
|
.endif
|
|
|
|
|
2000-11-07 18:28:20 -05:00
|
|
|
USE_MOTIF= yes
|
1995-02-17 05:53:08 -05:00
|
|
|
USE_IMAKE= yes
|
2000-02-22 22:40:40 -05:00
|
|
|
PLIST_SUB+= RELEASE=${OSREL:R} ARCH=${ARCH}
|
1995-02-17 05:53:08 -05:00
|
|
|
|
1999-06-27 16:20:29 -04:00
|
|
|
MAN1= cda.1 cddbcmd.1 dp2xmcd.1 wm2xmcd.1 xmcd.1
|
1999-02-21 22:27:30 -05:00
|
|
|
MANCOMPRESSED= no
|
2001-02-12 01:43:04 -05:00
|
|
|
RMAN= ${X11BASE}/bin/rman
|
1995-02-17 05:53:08 -05:00
|
|
|
|
1998-12-05 17:28:44 -05:00
|
|
|
post-extract:
|
1999-08-22 15:01:07 -04:00
|
|
|
@${CHMOD} -R u+w ${WRKSRC}
|
1998-12-05 17:28:44 -05:00
|
|
|
|
|
|
|
pre-patch:
|
|
|
|
@${CP} ${WRKSRC}/xmcd_d/XMcd.ad ${WRKSRC}/xmcd_d/XMcd.ad.in
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${SED} -e "s;@PREFIX@;${PREFIX};g" ${WRKSRC}/xmcd_d/XMcd.ad.in \
|
|
|
|
> ${WRKSRC}/xmcd_d/XMcd.ad
|
|
|
|
|
2001-02-12 01:43:04 -05:00
|
|
|
.if defined(XFREE86_VERSION) && ${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
|
|
|
|
|
1998-08-12 21:44:17 -04:00
|
|
|
post-install:
|
2000-01-29 15:01:39 -05:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
1999-05-16 19:37:37 -04:00
|
|
|
@${CP} ${WRKSRC}/xmcd_d/XMcd.ad ${PREFIX}/lib/X11/app-defaults/XMcd
|
2001-02-12 01:43:04 -05:00
|
|
|
.if defined(XFREE86_VERSION) && ${XFREE86_VERSION} == 4
|
|
|
|
(cd ${WRKSRC}; \
|
|
|
|
for i in xmcd cda cddbcmd dp2xmcd wm2xmcd; do \
|
|
|
|
${INSTALL_MAN} $${i}.1.html ${PREFIX}/lib/X11/doc/html; \
|
|
|
|
done)
|
|
|
|
.endif
|
1998-08-12 21:44:17 -04:00
|
|
|
|
1995-02-17 05:53:08 -05:00
|
|
|
.include <bsd.port.mk>
|