pkgsrc/time/saytime/Makefile
dholland bcb585c4c2 This doesn't use anything particularly specific other than opening
/dev/audio, as far as I can tell, so lift the narrow ONLY_FOR_PLATFORM
restriction.

(But, based on things I saw while going through audio/, mark it
NOT_FOR_PLATFORM on Interix.)

If you try it on Linux or whatever and it doesn't work, let me know or
file a PR and I'll attend to it or mark it broken.
2015-01-01 11:27:37 +00:00

32 lines
764 B
Makefile

# $NetBSD: Makefile,v 1.6 2015/01/01 11:27:37 dholland Exp $
#
DISTNAME= saytime_11nov1995
PKGNAME= saytime-19951111
CATEGORIES= time audio
MASTER_SITES= http://www.acme.com/software/saytime/
MAINTAINER= is@NetBSD.org
HOMEPAGE= http://www.acme.com/software/saytime/
COMMENT= Talking clock
USE_TOOLS+= pax
# Needs /dev/audio.
NOT_FOR_PLATFORM= Interix-*-*
WRKSRC= ${WRKDIR}/saytime
.include "../../mk/bsd.prefs.mk"
pre-configure:
${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.template
${SED} -e 's|@LOCALBASE@|${LOCALBASE}|' \
${WRKSRC}/Makefile.template > ${WRKSRC}/Makefile
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/saytime
post-install:
cd ${WRKSRC}/times && pax -rw * ${DESTDIR}${PREFIX}/share/saytime/
.include "../../mk/bsd.pkg.mk"