pkgsrc/net/tinyfugue/Makefile
dholland 08fe0575ee Fix broken destdirization. (hi joerg)
For some reason the "Checking for work-directory references" test
didn't catch the fact that ${DESTDIR}${LIBDIR} was being compiled
into the main binary as its library search path.

Noted by moof.

PKGREVISION -> 7
2011-08-18 05:03:10 +00:00

35 lines
965 B
Makefile

# $NetBSD: Makefile,v 1.28 2011/08/18 05:03:10 dholland Exp $
DISTNAME= tf-40s1
PKGNAME= tf-4.0s1
PKGREVISION= 7
CATEGORIES= net games
MASTER_SITES= ftp://laurel.actlab.utexas.edu/pub/tinyfugue/ \
${MASTER_SITE_SOURCEFORGE:=tinyfugue/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://tinyfugue.sourceforge.net/
COMMENT= Popular programmable MUD client, with macro support and more
PKG_DESTDIR_SUPPORT= user-destdir
MAKE_JOBS_SAFE= no
MAKE_FILE= ${WRKSRC}/unix/Makefile
MAKE_ENV+= TFVER=${DISTNAME:S/^tf-//}
PATCH_SITES= http://discworld.imaginary.com/external/taffyd/
PATCHFILES= tf-40s1-mccp-patch.gz
PATCH_DIST_STRIP=-p1
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
SUBST_CLASSES+= fix-paths
SUBST_MESSAGE.fix-paths= late-addition DESTDIR
SUBST_STAGE.fix-paths= pre-configure
SUBST_FILES.fix-paths= unix/Config
SUBST_SED.fix-paths= -e 's,@DESTDIR@,'${DESTDIR}',g'
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"