openbsd-ports/net/no-ip/Makefile
2006-10-18 22:02:39 +00:00

38 lines
872 B
Makefile

# $OpenBSD: Makefile,v 1.10 2006/10/18 22:02:39 wilfried Exp $
COMMENT= "No-IP.com Dynamic DNS client"
V= 2.1.3
DISTNAME= noip-${V}
PKGNAME= no-ip-${V}
CATEGORIES= net
HOMEPAGE= http://www.no-ip.com/
MAINTAINER= Peter Stromberg <wilfried@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c
MASTER_SITES= ${HOMEPAGE}client/linux/
NO_REGRESS= Yes
ALL_TARGET= noip2
do-configure:
@perl -pi -e 's|_SYSCONFDIR_|${SYSCONFDIR}|g' ${WRKSRC}/noip2.c
do-install:
${INSTALL_PROGRAM} ${WRKBUILD}/noip2 ${PREFIX}/sbin
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/no-ip/
${INSTALL_DATA} ${WRKSRC}/README.FIRST ${PREFIX}/share/doc/no-ip/
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/no-ip
${INSTALL_DATA} /dev/null ${PREFIX}/share/examples/no-ip/no-ip2.conf
.include <bsd.port.mk>