pkgsrc/time/titrax/Makefile
dholland 5611bcdc81 Use tail -n +2 instead of tail +2 to work around broken Linux userlands.
While here, move seddery from post-patch to pre-configure.
XXX: it should be replaced with SUBST.
2014-06-29 19:12:51 +00:00

33 lines
956 B
Makefile

# $NetBSD: Makefile,v 1.30 2014/06/29 19:12:51 dholland Exp $
#
DISTNAME= titrax-1.98
PKGREVISION= 9
CATEGORIES= x11 time
MASTER_SITES= ${MASTER_SITE_XCONTRIB:=office/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.alvestrand.no/titrax/TimeTracker.html
COMMENT= Little X11 tool to track project times
LICENSE= titrax-license
RESTRICTED= Do not sell for "real money".
# XXX Arguably NO_*_ON_CDROM is not necessary, because "real money" seems
# to exclude CDROM distribution charges.
NO_SRC_ON_CDROM= ${RESTRICTED}
NO_BIN_ON_CDROM= ${RESTRICTED}
USE_IMAKE= YES
USE_TOOLS+= perl:run
pre-configure:
${MV} ${WRKSRC}/Imakefile ${WRKSRC}/Imakefile.bak
${SED} -e "s|@LOCALBASE@|${LOCALBASE}|g" \
-e "s|@X11BASE@|${X11PREFIX}|g" \
${WRKSRC}/Imakefile.bak > ${WRKSRC}/Imakefile
INSTALLATION_DIRS= libexec/titrax
.include "../../x11/libXaw/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"