pkgsrc/pkgtools/shlock/Makefile
jlam 9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
2006-03-04 21:28:51 +00:00

48 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.16 2006/03/04 21:30:27 jlam Exp $
#
DISTNAME= shlock-20020114
CATEGORIES= pkgtools sysutils
MASTER_SITES= # empty
DISTFILES= # empty
MAINTAINER= pkgsrc-users@NetBSD.org
#HOMEPAGE=
COMMENT= Shell utility to perform dot-locking
WRKSRC= ${WRKDIR}
EXTRACT_ONLY= #empty
NO_CHECKSUM= yes
MANCOMPRESSED_IF_MANZ= yes
PLIST_SRC= ${WRKDIR}/PLIST
BUILD_DEFS+= MANINSTALL
MAKE_ENV+= BINDIR=${PREFIX}/bin MANDIR=${PREFIX}/man
MAKE_ENV+= BINOWN=${BINOWN:Q} BINGRP=${BINGRP:Q}
MAKE_ENV+= MANOWN=${BINOWN:Q} MANGRP=${BINGRP:Q}
.include "../../mk/bsd.prefs.mk"
PKGSRC_LOCKTYPE= none # avoid "bootstrapping problem"
.if !empty(OPSYS:MSunOS) || !empty(OPSYS:MDarwin) || \
!empty(OPSYS:MDragonFly) || !empty(OPSYS:MFreeBSD)
MANINSTALL=
.endif
post-extract:
@for FILE in Makefile shlock.c shlock.1; do \
${CP} ${FILESDIR}/$$FILE ${WRKSRC}; \
done
pre-install:
@${RM} -f ${PLIST_SRC}
@${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
@if [ -n "${MANINSTALL:Mcatinstall}" ]; then \
${ECHO} man/cat1/shlock.0 >> ${PLIST_SRC}; \
fi
@if [ -n "${MANINSTALL:Mmaninstall}" ]; then \
${ECHO} man/man1/shlock.1 >> ${PLIST_SRC}; \
fi
.include "../../mk/bsd.pkg.mk"