180c4d9a5a
for binaries. Got rid of patch-aa for the Makefile. PKGREVISION++
37 lines
960 B
Makefile
37 lines
960 B
Makefile
# $NetBSD: Makefile,v 1.12 2007/01/08 21:12:31 rillig Exp $
|
|
#
|
|
|
|
DISTNAME= rinetd
|
|
PKGNAME= ${DISTNAME}-0.62
|
|
PKGREVISION= 2
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://www.boutell.com/rinetd/http/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.boutell.com/rinetd/
|
|
COMMENT= Internet redirection server
|
|
|
|
NO_CONFIGURE= yes
|
|
BUILD_TARGET= rinetd
|
|
|
|
CPPFLAGS+= -DRINETD_CONF="\"${PKG_SYSCONFDIR}/rinetd.conf\""
|
|
|
|
INSTALLATION_DIRS= sbin ${PKGMANDIR}/man8
|
|
|
|
RCD_SCRIPTS= rinetd
|
|
RCD_SCRIPT_WRK.rinetd= ${WRKDIR}/rinetd.sh
|
|
|
|
SUBST_CLASSES+= paths
|
|
SUBST_FILES.paths= rinetd.8
|
|
SUBST_SED.paths+= -e 's,@PREFIX@,${PREFIX},g'
|
|
SUBST_SED.paths+= -e 's,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR},g'
|
|
SUBST_STAGE.paths= post-patch
|
|
|
|
do-build:
|
|
cd ${WRKSRC} && env ${MAKE_ENV} cc ${CPPFLAGS} ${CFLAGS} -o rinetd *.c
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/rinetd ${PREFIX}/sbin/.
|
|
${INSTALL_MAN} ${WRKSRC}/rinetd.8 ${PREFIX}/${PKGMANDIR}/man8/.
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|