Annotation of pkgsrc/mail/faces/Makefile, Revision 1.30
1.30 ! jlam 1: # $NetBSD: Makefile,v 1.29 2002/09/10 08:18:32 manu Exp $
1.1 agc 2:
3: DISTNAME= faces-1.6.1
1.26 tron 4: PKGREVISION= 2
1.24 jlam 5: WRKSRC= ${WRKDIR}/faces
1.1 agc 6: CATEGORIES= mail
1.29 manu 7: MASTER_SITES= ftp://ftp.cs.indiana.edu/pub/faces/faces/faces-1.6.1/
1.1 agc 8: EXTRACT_SUFX= .tar.Z
1.4 frueauf 9:
1.30 ! jlam 10: CONFLICTS= compface-[0-9]*
! 11:
1.15 tron 12: MAINTAINER= packages@netbsd.org
1.19 wiz 13: COMMENT= visual mail, user and print face server
1.20 jtb 14:
1.26 tron 15: DEPENDS+= netpbm>=9.2:../../graphics/netpbm
1.25 tron 16:
1.21 jtb 17: LICENSE= limited-redistribution
1.20 jtb 18: RESTRICTED= "Distribution not allowed if money exchanged"
1.1 agc 19:
1.30 ! jlam 20: USE_BUILDLINK2= YES
1.24 jlam 21: USE_X11BASE= YES
22: USE_LIBTOOL= YES
1.23 wiz 23:
1.24 jlam 24: MAKE_FLAGS+= PREFIX="${PREFIX}"
25: MAKE_FLAGS+= CCOMP="${CFLAGS}"
1.2 agc 26:
1.18 dmcmahil 27: .include "../../mk/bsd.prefs.mk"
28:
1.24 jlam 29: .if ${OPSYS} == "SunOS"
30: MAKE_ENV+= SVR4LIBS="-lnsl -lsocket -lgen"
31: MAKE_ENV+= SYSV=-DSYSV32
32: MAKE_ENV+= CC=gcc
33: MAKE_ENV+= CPPFLAGS=
1.18 dmcmahil 34: .endif
1.14 agc 35:
1.27 tron 36: REPLACE_PERL= scripts/addxface scripts/deepen scripts/facesaddr \
37: scripts/facesall scripts/from.faces scripts/lpqall.faces \
38: scripts/mailq.faces scripts/mailqto scripts/mailqto.faces \
39: scripts/mkfacesindex scripts/newscheck.faces \
40: scripts/newsfrom.faces scripts/rotary.faces
41:
42: do-configure: replace-perl
1.24 jlam 43: ${LN} -sf Makefile.dist ${WRKSRC}/${MAKEFILE}
44: cd ${WRKSRC}; \
45: files=" \
46: x11.c \
47: scripts/addxface \
48: scripts/facesall \
49: scripts/mkfacesindex \
50: "; \
1.25 tron 51: for FILE in $${files}; do \
1.24 jlam 52: ${SED} -e "s|@PREFIX@|${PREFIX}|g" \
1.25 tron 53: $${FILE} > $${FILE}.fixed; \
54: if [ -x $${FILE} ]; then \
55: ${CHMOD} +x $${FILE}.fixed; \
1.24 jlam 56: fi; \
1.25 tron 57: ${MV} -f $${FILE}.fixed $${FILE}; \
1.24 jlam 58: done
1.14 agc 59:
1.30 ! jlam 60: .include "../../lang/perl5/buildlink2.mk"
1.7 agc 61: .include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>