Use buildlink2.

Convert to the bsd.pkg.install.mk framework:
- Honour PKG_SYSCONFDIR.
- Use RCD_SCRIPTS to handle the installed rc.d script.
Bump PKGREVISION to 6.
This commit is contained in:
jmmv 2003-07-30 16:32:09 +00:00
parent a40cad636e
commit 2fb266f746
3 changed files with 18 additions and 8 deletions

View file

@ -1,12 +1,12 @@
# $NetBSD: Makefile,v 1.14 2003/07/17 22:51:27 grant Exp $
# $NetBSD: Makefile,v 1.15 2003/07/30 16:32:09 jmmv Exp $
#
# XXX do not use -- see ../netatalk instead
DISTNAME= netatalk-1.4b2+asun2.1.3
PKGNAME= netatalk-asun-2.1.3
PKGREVISION= 5
PKGREVISION= 6
CATEGORIES= net print
MASTER_SITES= ftp://ftp.cobaltnet.com/pub/users/asun/release/ \
MASTER_SITES= ftp://ftp.cobaltnet.com/pub/users/asun/release/ \
ftp://ftp.hanse.de/sites/transit/mirror/ftp.u.washington.edu/public/asun/
MAINTAINER= abs@NetBSD.org
@ -16,6 +16,16 @@ COMMENT= Netatalk appletalk file and print services, enhanced by Adrian Sun
CONFLICTS= netatalk-[0-9]*
CONFLICTS+= netatalk-umich-[0-9]*
USE_BUILDLINK2= YES
USE_PKGINSTALL= YES
MAKE_ENV+= ETCDIR="${PKG_SYSCONFDIR}"
MAKE_ENV+= RCDIR="${PREFIX}/etc/rc.d"
PKG_SYSCONFSUBDIR= netatalk
RCD_SCRIPTS= netatalk
post-extract:
@${MV} ${WRKSRC}/man/man8/papd.8 ${WRKSRC}/man/man8/papd.tbl

View file

@ -1,8 +1,8 @@
$NetBSD: distinfo,v 1.5 2003/01/14 02:02:01 markd Exp $
$NetBSD: distinfo,v 1.6 2003/07/30 16:32:09 jmmv Exp $
SHA1 (netatalk-1.4b2+asun2.1.3.tar.gz) = 2b6d73125515867eb042bd30cb792ed41aea2013
Size (netatalk-1.4b2+asun2.1.3.tar.gz) = 338362 bytes
SHA1 (patch-aa) = 926f2285cc5f0ef9ff28972c63823415c0e7ef21
SHA1 (patch-aa) = 942c380e37f088629436b9d4c1bcc86ffb81a941
SHA1 (patch-ab) = a4bb99200a77163e32997762d6a1637baca9ab24
SHA1 (patch-ac) = 9a50b21ebdfce35d8442865523ec02a617c478f8
SHA1 (patch-ad) = 5327c5ebd3d9c9ba0b6133478d52ca80d174ac8e

View file

@ -1,4 +1,4 @@
$NetBSD: patch-aa,v 1.5 2001/05/24 17:00:57 abs Exp $
$NetBSD: patch-aa,v 1.6 2003/07/30 16:32:10 jmmv Exp $
--- Makefile.orig Sun Feb 7 11:15:46 1999
+++ Makefile
@ -21,9 +21,9 @@ $NetBSD: patch-aa,v 1.5 2001/05/24 17:00:57 abs Exp $
+RESDIR=$(DESTDIR)/share
# for configuration files (AppleVolumes.system, etc.)
-ETCDIR=$(DESTDIR)/etc
+ETCDIR=/etc/netatalk
+ETCDIR?=/etc/netatalk
+# for startup script
+RCDIR=$(DESTDIR)/etc/rc.d
+RCDIR?=$(DESTDIR)/etc/rc.d
# for include files
INCDIR=$(DESTDIR)/include
# Root of man pages. Subdirectories will be