openbsd-ports/net/aiccu/Makefile

38 lines
1013 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2007/02/13 20:30:48 naddy Exp $
COMMENT= "SixXS automatic IPv6 connectivity client utility"
VERSION= 20070115
DISTNAME= aiccu_${VERSION}
PKGNAME= aiccu-${VERSION}
CATEGORIES= net
HOMEPAGE= http://www.sixxs.net/tools/aiccu/
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
# custom
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://www.sixxs.net/archive/sixxs/aiccu/unix/
WANTLIB= c pthread
WRKDIST= ${WRKDIR}/aiccu
USE_GMAKE= Yes
MAKE_FLAGS= CC='${CC}' RPM_OPT_FLAGS='${CFLAGS} ${DEFS}'
DEFS= -DAICCU_CACHE=\"/var/db/aiccu.cache\" \
-DAICCU_CONFIG=\"${SYSCONFDIR}/aiccu.conf\"
NO_REGRESS= Yes
do-install:
${INSTALL_PROGRAM} ${WRKBUILD}/unix-console/aiccu ${PREFIX}/sbin/aiccu
${INSTALL_MAN} ${WRKSRC}/doc/aiccu.1 ${PREFIX}/man/man8/aiccu.8
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/aiccu
${INSTALL_DATA} ${WRKSRC}/doc/aiccu.conf ${PREFIX}/share/examples/aiccu
.include <bsd.port.mk>