Add NetBSD RCS Id.

Correct LIB_DEPENDS lines for NetBSD.
Add CAT1 definition for preformatted manual page
Use sed to generalise LOCALBASE and X11BASE, rather than having
hard-coded paths.
This commit is contained in:
agc 1998-02-05 11:39:00 +00:00
parent 10ff973d79
commit 7e5e8918e9

View file

@ -3,6 +3,7 @@
# Date created: 2 Jan 1995
# Whom: swallace
#
# $NetBSD: Makefile,v 1.2 1998/02/05 11:39:00 agc Exp $
# FreeBSD Id: Makefile,v 1.14 1997/08/29 12:17:50 tg Exp
#
@ -12,12 +13,19 @@ MASTER_SITES= http://www.danbbs.dk/~torsten/xpaint/
MAINTAINER= ports@freebsd.org
LIB_DEPENDS= jpeg\\.7\\.:${PORTSDIR}/graphics/jpeg \
tiff\\.3\\.:${PORTSDIR}/graphics/tiff \
Xpm\\.4\\.:${PORTSDIR}/graphics/xpm \
png\\.0\\.:${PORTSDIR}/graphics/png
LIB_DEPENDS= jpeg.7.:${PORTSDIR}/graphics/jpeg \
tiff.3.:${PORTSDIR}/graphics/tiff \
Xpm.4.:${PORTSDIR}/graphics/xpm \
png.0.:${PORTSDIR}/graphics/png
WRKSRC= ${WRKDIR}/xpaint
USE_IMAKE= yes
CAT1= xpaint.0
pre-configure:
@${SED} -e 's|\$${LOCALBASE}|'${LOCALBASE}'|g' \
-e 's|\$${X11BASE}|'${X11BASE}'|g' \
< ${WRKSRC}/Local.config > ${WRKSRC}/Local.config.new && \
${MV} ${WRKSRC}/Local.config.new ${WRKSRC}/Local.config
.include <bsd.port.mk>