diff options
Diffstat (limited to 'time/saytime/Makefile')
-rw-r--r-- | time/saytime/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/time/saytime/Makefile b/time/saytime/Makefile index 086aa785433..ddd037fcf27 100644 --- a/time/saytime/Makefile +++ b/time/saytime/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2008/05/26 02:13:24 joerg Exp $ +# $NetBSD: Makefile,v 1.4 2009/07/07 20:04:53 joerg Exp $ # DISTNAME= saytime_11nov1995 @@ -10,6 +10,8 @@ MAINTAINER= is@NetBSD.org HOMEPAGE= http://www.acme.com/software/saytime/ COMMENT= Talking clock +PKG_DESTDIR_SUPPORT= user-destdir + USE_TOOLS+= pax ONLY_FOR_PLATFORM= NetBSD-*-* OpenBSD-*-* SunOS-*-* @@ -23,8 +25,9 @@ pre-configure: ${SED} -e 's|@LOCALBASE@|${LOCALBASE}|' \ ${WRKSRC}/Makefile.template > ${WRKSRC}/Makefile +INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/saytime + post-install: - ${INSTALL_DATA_DIR} ${LOCALBASE}/share/saytime - cd ${WRKSRC}/times && pax -rw * ${LOCALBASE}/share/saytime/ + cd ${WRKSRC}/times && pax -rw * ${DESTDIR}${PREFIX}/share/saytime/ .include "../../mk/bsd.pkg.mk" |