pkgsrc/textproc/helpdeco/Makefile
2009-07-07 22:08:13 +00:00

31 lines
786 B
Makefile

# $NetBSD: Makefile,v 1.23 2009/07/07 22:08:13 joerg Exp $
#
DISTNAME= helpdeco-2.1.3
PKGREVISION= 1
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=helpdeco/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://sourceforge.net/projects/helpdeco/
COMMENT= Windows .hlp to .rtf converter
PKG_DESTDIR_SUPPORT= user-destdir
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD" || ${OPSYS} == "Darwin" || ${OPSYS} == "Interix"
CFLAGS+= -DHAVE_STRLCPY
.endif
MAKE_ENV+= CFLAGS=${CFLAGS:M*:Q}
BUILD_TARGET= build
USE_TOOLS+= gmake
SUBST_CLASSES+= prefix
SUBST_MESSAGE.prefix= Configuring to use PREFIX.
SUBST_STAGE.prefix= post-patch
SUBST_FILES.prefix= Makefile
SUBST_SED.prefix= -e "s,/usr/local,${DESTDIR}${PREFIX},g"
.include "../../mk/bsd.pkg.mk"