mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
149ba7338a
These ports built successfully
37 lines
812 B
Makefile
37 lines
812 B
Makefile
# 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>
|