blob: 6c0fa07db0e8d6367f05bc1a3a5dc78a422806f7 (
plain) (
blame)
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
|
# Created by: Alex Dupre <sysadmin@alexdupre.com>
# $FreeBSD$
PORTNAME= portfwd
PORTVERSION= 0.29
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= SF
MAINTAINER= ale@FreeBSD.org
COMMENT= Port Forwarding Daemon
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
OPTIONS_DEFINE= DOCS EXAMPLES
GNU_CONFIGURE= yes
USES= autoreconf gmake
USE_RC_SUBR= ${PORTNAME}
post-patch:
@${REINPLACE_CMD} -e "s|-Wall -ggdb -O3|${CFLAGS}|g" \
${WRKSRC}/src/Makefile.am
@${REINPLACE_CMD} -e "s|-Wall -g -O3|${CFLAGS}|g" \
${WRKSRC}/tools/Makefile.am
@${TOUCH} ${WRKSRC}/* ${WRKSRC}/*/*
post-install:
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/etc/rc.d
post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/cfg/*.cfg ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>
|