| @@ -1,28 +1,30 @@ | | | @@ -1,28 +1,30 @@ |
1 | # $NetBSD: Makefile,v 1.30 2011/06/01 11:21:01 is Exp $ | | 1 | # $NetBSD: Makefile,v 1.31 2011/07/07 03:06:24 mspo Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | DISTNAME= sendfile-2.1b | | 4 | DISTNAME= sendfile-2.1b |
| | | 5 | PKGREVISION= 1 |
5 | CATEGORIES= net | | 6 | CATEGORIES= net |
6 | MASTER_SITES= http://fex.rus.uni-stuttgart.de/download/ | | 7 | MASTER_SITES= http://fex.rus.uni-stuttgart.de/download/ |
7 | | | 8 | |
8 | MAINTAINER= pkgsrc-users@NetBSD.org | | 9 | MAINTAINER= pkgsrc-users@NetBSD.org |
9 | HOMEPAGE= http://fex.rus.uni-stuttgart.de/saft/sendfile.html | | 10 | HOMEPAGE= http://fex.rus.uni-stuttgart.de/saft/sendfile.html |
10 | COMMENT= Implementation of the Simple asynchronous file transfer protocol | | 11 | COMMENT= Implementation of the Simple asynchronous file transfer protocol |
11 | LICENSE= gnu-gpl-v2 | | 12 | LICENSE= gnu-gpl-v2 |
12 | | | 13 | |
13 | #WRKSRC= ${WRKDIR}/sendfile-2.1b | | 14 | #WRKSRC= ${WRKDIR}/sendfile-2.1b |
14 | | | 15 | |
15 | PKG_DESTDIR_SUPPORT= user-destdir | | 16 | PKG_DESTDIR_SUPPORT= user-destdir |
| | | 17 | DIST_SUBDIR= ${PKGNAME_NOREV} |
16 | | | 18 | |
17 | EGDIR= ${PREFIX}/share/examples/sendfile | | 19 | EGDIR= ${PREFIX}/share/examples/sendfile |
18 | CONF_FILES= ${EGDIR}/sendfile.cf ${PKG_SYSCONFDIR}/sendfile.cf | | 20 | CONF_FILES= ${EGDIR}/sendfile.cf ${PKG_SYSCONFDIR}/sendfile.cf |
19 | CONF_FILES+= ${EGDIR}/sendfile.deny ${PKG_SYSCONFDIR}/sendfile.deny | | 21 | CONF_FILES+= ${EGDIR}/sendfile.deny ${PKG_SYSCONFDIR}/sendfile.deny |
20 | | | 22 | |
21 | OVERRIDE_GNU_CONFIG_SCRIPTS= yes | | 23 | OVERRIDE_GNU_CONFIG_SCRIPTS= yes |
22 | | | 24 | |
23 | SUBST_CLASSES+= makeconfig | | 25 | SUBST_CLASSES+= makeconfig |
24 | SUBST_STAGE.makeconfig= pre-configure | | 26 | SUBST_STAGE.makeconfig= pre-configure |
25 | SUBST_FILES.makeconfig= makeconfig | | 27 | SUBST_FILES.makeconfig= makeconfig |
26 | SUBST_VARS.makeconfig= PREFIX PKG_SYSCONFBASEDIR | | 28 | SUBST_VARS.makeconfig= PREFIX PKG_SYSCONFBASEDIR |
27 | | | 29 | |
28 | post-configure: | | 30 | post-configure: |