Lines 7-37
Link Here
|
7 |
# |
7 |
# |
8 |
|
8 |
|
9 |
PORTNAME= cvsd |
9 |
PORTNAME= cvsd |
10 |
PORTVERSION= 0.9.14 |
10 |
PORTVERSION= 0.9.16 |
11 |
CATEGORIES= devel |
11 |
CATEGORIES= devel |
12 |
MASTER_SITES= http://tiefighter.et.tudelft.nl/~arthur/cvsd/ |
12 |
MASTER_SITES= http://tiefighter.et.tudelft.nl/~arthur/cvsd/ |
13 |
|
13 |
|
14 |
MAINTAINER= ports@FreeBSD.org |
14 |
MAINTAINER= ports@FreeBSD.org |
15 |
|
15 |
|
16 |
LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt |
|
|
17 |
|
16 |
|
|
|
17 |
USE_PERL5= yes |
18 |
USE_REINPLACE= yes |
18 |
USE_REINPLACE= yes |
19 |
GNU_CONFIGURE= yes |
19 |
GNU_CONFIGURE= yes |
20 |
USE_PERL5= yes |
20 |
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} |
21 |
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} |
21 |
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" |
22 |
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ |
22 |
CONFIGURE_ARGS= --with-libwrap |
23 |
LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt" |
23 |
MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \ |
|
|
24 |
AUTOHEADER="${TRUE}" |
24 |
|
25 |
|
25 |
MAN5= cvsd.conf.5 |
26 |
MAN5= cvsd.conf.5 |
26 |
MAN8= cvsd.8 cvsd-buildroot.8 cvsd-passwd.8 |
27 |
MAN8= cvsd.8 cvsd-buildroot.8 cvsd-passwd.8 |
27 |
|
28 |
|
|
|
29 |
.if !exists(/usr/include/getopt.h) |
30 |
LIB_DEPENDS+= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt |
31 |
CPPFLAGS+= -I${LOCALBASE}/include |
32 |
LDFLAGS+= -L${LOCALBASE}/lib -lgnugetopt |
33 |
.endif |
34 |
|
28 |
post-patch: |
35 |
post-patch: |
29 |
@${REINPLACE_CMD} -e \ |
36 |
@${REINPLACE_CMD} -e 's|init.d/cvsd|rc.d/cvsd.sh.sample|g ; \ |
30 |
's|@ACLOCAL@|${TRUE}|g ; \ |
|
|
31 |
s|@AUTOCONF@|${TRUE}|g ; \ |
32 |
s|@AUTOMAKE@|${TRUE}|g ; \ |
33 |
s|@AUTOHEADER@|${TRUE}|g ; \ |
34 |
s|init.d/cvsd|rc.d/cvsd.sh.sample|g ; \ |
35 |
s|init.d|rc.d|g' ${WRKSRC}/Makefile.in |
37 |
s|init.d|rc.d|g' ${WRKSRC}/Makefile.in |
36 |
|
38 |
|
37 |
post-install: |
39 |
post-install: |