pkgsrc/mail/faces/Makefile
1999-12-05 22:06:19 +00:00

35 lines
1,011 B
Makefile

# $NetBSD: Makefile,v 1.12 1999/12/05 22:06:19 bouyer Exp $
# FreeBSD Id: Makefile,v 1.5 1997/11/17 18:47:53 max Exp
#
DISTNAME= faces-1.6.1
CATEGORIES= mail
MASTER_SITES= ftp://ftp.cs.indiana.edu/pub/faces/faces/ \
ftp://odie.physik2.uni-rostock.de/pub/
EXTRACT_SUFX= .tar.Z
MAINTAINER= Lars.Koeller@Uni-Bielefeld.DE
WRKSRC= ${WRKDIR}/faces
USE_X11= yes
post-configure:
@for f in ${WRKSRC}/Makefile ${WRKSRC}/faces.h ${WRKSRC}/x11.c; do \
${MV} $$f $$f.in; \
${SED} -e 's|@localbase@|'${LOCALBASE}'|g' \
-e 's|@x11base@|'${X11BASE}'|g' < $$f.in > $$f; \
done
PLIST_SRC= ${WRKDIR}/.PLIST-src
post-install:
${LN} -f ${PREFIX}/man/man1/compface.1 ${PREFIX}/man/man1/uncompface.1
${LN} -f ${PREFIX}/man/man3/compface.3 ${PREFIX}/man/man3/uncompface.3
@${SED} -e 's|@localbase@|'${LOCALBASE}'|g' \
-e 's|@x11base@|'${X11BASE}'|g' < ${PKGDIR}/PLIST > ${PLIST_SRC}
.include "../../mk/bsd.pkg.mk"
.if (${OPSYS} == "SunOS")
MAKE_ENV+= SVR4LIBS="-lnsl -lsocket -lgen" SYSV=-DSYSV32
.endif