| @@ -1,29 +1,31 @@ | | | @@ -1,29 +1,31 @@ |
1 | # $NetBSD: Makefile,v 1.2 2008/01/17 04:00:47 tnn Exp $ | | 1 | # $NetBSD: Makefile,v 1.3 2008/01/30 09:39:13 tnn Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | DISTNAME= unfs3-0.9.20 | | 4 | DISTNAME= unfs3-0.9.20 |
| | | 5 | PKGREVISION= 1 |
5 | CATEGORIES= net | | 6 | CATEGORIES= net |
6 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=unfs3/} | | 7 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=unfs3/} |
7 | | | 8 | |
8 | MAINTAINER= pkgsrc-users@NetBSD.org | | 9 | MAINTAINER= pkgsrc-users@NetBSD.org |
9 | HOMEPAGE= http://unfs3.sourceforge.net/ | | 10 | HOMEPAGE= http://unfs3.sourceforge.net/ |
10 | COMMENT= Userspace NFSv3 server | | 11 | COMMENT= Userspace NFSv3 server |
11 | | | 12 | |
12 | GNU_CONFIGURE= yes | | 13 | GNU_CONFIGURE= yes |
13 | PKG_DESTDIR_SUPPORT= user-destdir | | 14 | PKG_DESTDIR_SUPPORT= user-destdir |
14 | | | 15 | |
15 | CONF_FILES+= ${PREFIX}/share/examples/unfs3/exports \ | | 16 | CONF_FILES+= ${PREFIX}/share/examples/unfs3/exports \ |
16 | ${PKG_SYSCONFDIR}/exports | | 17 | ${PKG_SYSCONFDIR}/exports |
| | | 18 | RCD_SCRIPTS= unfsd |
17 | | | 19 | |
18 | INSTALLATION_DIRS+= share/examples/unfs3 | | 20 | INSTALLATION_DIRS+= share/examples/unfs3 |
19 | | | 21 | |
20 | SUBST_CLASSES+= exports | | 22 | SUBST_CLASSES+= exports |
21 | SUBST_STAGE.exports= pre-configure | | 23 | SUBST_STAGE.exports= pre-configure |
22 | SUBST_MESSAGE.exports= Fixing path to exports(5) | | 24 | SUBST_MESSAGE.exports= Fixing path to exports(5) |
23 | SUBST_FILES.exports= daemon.c unfsd.8 | | 25 | SUBST_FILES.exports= daemon.c unfsd.8 |
24 | SUBST_SED.exports= -e 's,/etc/exports,${PKG_SYSCONFDIR}/exports,g' | | 26 | SUBST_SED.exports= -e 's,/etc/exports,${PKG_SYSCONFDIR}/exports,g' |
25 | | | 27 | |
26 | .include "../../mk/bsd.prefs.mk" | | 28 | .include "../../mk/bsd.prefs.mk" |
27 | | | 29 | |
28 | .if ${OPSYS} == "NetBSD" | | 30 | .if ${OPSYS} == "NetBSD" |
29 | BUILDLINK_TRANSFORM+= rm:-lrpcsoc | | 31 | BUILDLINK_TRANSFORM+= rm:-lrpcsoc |