blob: aa4d9f544fedf50ef17e4edd33f2391698e5b3f5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
# $NetBSD: Makefile,v 1.28 2002/08/25 19:23:05 jlam Exp $
DISTNAME= faces-1.6.1
PKGREVISION= 2
WRKSRC= ${WRKDIR}/faces
CATEGORIES= mail
MASTER_SITES= ftp://ftp.cs.indiana.edu/pub/faces/faces/
EXTRACT_SUFX= .tar.Z
MAINTAINER= packages@netbsd.org
COMMENT= visual mail, user and print face server
DEPENDS+= netpbm>=9.2:../../graphics/netpbm
LICENSE= limited-redistribution
RESTRICTED= "Distribution not allowed if money exchanged"
USE_BUILDLINK_ONLY= YES
USE_X11BASE= YES
USE_LIBTOOL= YES
MAKE_FLAGS+= PREFIX="${PREFIX}"
MAKE_FLAGS+= CCOMP="${CFLAGS}"
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
MAKE_ENV+= SVR4LIBS="-lnsl -lsocket -lgen"
MAKE_ENV+= SYSV=-DSYSV32
MAKE_ENV+= CC=gcc
MAKE_ENV+= CPPFLAGS=
.endif
REPLACE_PERL= scripts/addxface scripts/deepen scripts/facesaddr \
scripts/facesall scripts/from.faces scripts/lpqall.faces \
scripts/mailq.faces scripts/mailqto scripts/mailqto.faces \
scripts/mkfacesindex scripts/newscheck.faces \
scripts/newsfrom.faces scripts/rotary.faces
do-configure: replace-perl
${LN} -sf Makefile.dist ${WRKSRC}/${MAKEFILE}
cd ${WRKSRC}; \
files=" \
x11.c \
scripts/addxface \
scripts/facesall \
scripts/mkfacesindex \
"; \
for FILE in $${files}; do \
${SED} -e "s|@PREFIX@|${PREFIX}|g" \
$${FILE} > $${FILE}.fixed; \
if [ -x $${FILE} ]; then \
${CHMOD} +x $${FILE}.fixed; \
fi; \
${MV} -f $${FILE}.fixed $${FILE}; \
done
.include "../../lang/perl5/buildlink.mk"
.include "../../mk/x11.buildlink.mk"
.include "../../mk/bsd.pkg.mk"
|