32 lines
803 B
Makefile
32 lines
803 B
Makefile
# $OpenBSD: Makefile,v 1.5 2011/01/14 22:50:56 jasper Exp $
|
|
|
|
COMMENT= IPv6 to IPv4 web proxy
|
|
|
|
DISTNAME= www6to4-1.5
|
|
REVISION= 0
|
|
CATEGORIES= www
|
|
HOMEPAGE= http://www.vermicelli.pasta.cs.uit.no/ipv6/software.html
|
|
|
|
# GPL
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
WANTLIB= c
|
|
|
|
MASTER_SITES= ftp://ftp.pasta.cs.uit.no/pub/Vermicelli/
|
|
|
|
ALL_TARGET= www6to4
|
|
CFLAGS+= -DSYSCONFDIR=\"${SYSCONFDIR}\"
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/www6to4 ${PREFIX}/bin
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/www6to4
|
|
${INSTALL_DATA} ${WRKSRC}/*.conf ${PREFIX}/share/examples/www6to4
|
|
perl -i -pe 's:/etc(/www6to4_forward.conf):${SYSCONFDIR}$$1:' \
|
|
${PREFIX}/share/examples/www6to4/www6to4.conf
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
.include <bsd.port.mk>
|