Convert to use buildlink.mk files and mark as USE_BUILDLINK_ONLY.

This commit is contained in:
jlam 2001-07-01 21:40:27 +00:00
parent c5cef3e879
commit 106fe93a10

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.14 2001/02/16 13:30:53 wiz Exp $
# $NetBSD: Makefile,v 1.15 2001/07/01 21:40:27 jlam Exp $
# FreeBSD ID: Makefile,v 1.5 1997/09/08 13:37:47 tg Exp
#
@ -10,14 +10,15 @@ MAINTAINER= augustss@cs.chalmers.se
HOMEPAGE= http://sunsite.unc.edu/~cddb/xmmix/index.html
COMMENT= X interface to the audio mixer device
USE_IMAKE= yes
USE_MOTIF= yes
USE_BUILDLINK_ONLY= yes
USE_IMAKE= yes
post-patch:
for file in ${WRKSRC}/XMmix.ad ${WRKSRC}/resource.h; do \
${CP} $$file $$file.orig; \
${CHMOD} +w $$file; \
${SED} "s^/usr/lib/X11/xmmix.hlp^${PREFIX}/lib/X11/xmmix.hlp^" $$file.orig > $$file; \
for file in ${WRKSRC}/XMmix.ad ${WRKSRC}/resource.h; do \
${MV} -f $$file $$file.orig; \
${SED} -e "s|/usr/lib/X11/xmmix.hlp|${PREFIX}/lib/X11/xmmix.hlp|g" \
$$file.orig > $$file; \
done
.include "../../x11/lesstif/buildlink.mk"
.include "../../mk/bsd.pkg.mk"