blob: a93519dd68ae7cb77627904f752b1a03cdf2b8a0 (
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
|
# New ports collection makefile for: netsaint
# Date created: Wed 12 Jul 2000
# Whom: will
#
# $FreeBSD$
#
PORTNAME= netsaint
PORTVERSION= 0.0.7b6
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://netsaint.sourceforge.net/download/ \
${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR=dwcjr
DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} netsaint-graphics.tar.gz
MAINTAINER= blaz@si.FreeBSD.org
LIB_DEPENDS= gd.2:${PORTSDIR}/graphics/gd \
gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
RUN_DEPENDS= ${LOCALBASE}/libexec/netsaint/check_netsaint:${PORTSDIR}/net/netsaint-plugins
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib -lgd -lgnugetopt"
CONFIGURE_ARGS= --with-command-user=netsaint \
--with-command-grp=nogroup \
--with-netsaint-user=netsaint \
--with-netsaint-grp=netsaint \
--sbindir=${PREFIX}/share/netsaint/sbin \
--libexecdir=${PREFIX}/libexec/netsaint \
--datadir=${PREFIX}/share/netsaint \
--sysconfdir=${PREFIX}/etc/netsaint \
--localstatedir=${PREFIX}/var/netsaint
INSTALL_TARGET= all install config install-config install-daemoninit install-commandmode
pre-fetch:
@${SH} ${SCRIPTDIR}/checkps
pre-install:
@PKG_PREFIX="${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
BSDIMAGES= bsd_logofullsize.gif bsd_sblogo.gif
post-patch:
cd ${WRKSRC} && tar zxf ${DISTDIR}/netsaint-graphics.tar.gz
post-install:
.for i in ${BSDIMAGES}
${INSTALL_DATA} ${WRKSRC}/html/images/$i ${PREFIX}/share/${PORTNAME}/images/
.endfor
.include <bsd.port.mk>
|