28 lines
693 B
Makefile
28 lines
693 B
Makefile
# $NetBSD: Makefile,v 1.16 2005/07/08 18:56:56 kristerw Exp $
|
|
#
|
|
|
|
DISTNAME= helpdeco-2.1.1
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=helpdeco/}
|
|
|
|
MAINTAINER= ben@NetBSD.org
|
|
HOMEPAGE= http://sourceforge.net/projects/helpdeco/
|
|
COMMENT= Windows .hlp to .rtf converter
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if ${OPSYS} == "NetBSD" || ${OPSYS} == "Darwin"
|
|
CFLAGS+= -DHAVE_STRLCPY
|
|
.endif
|
|
|
|
MAKE_ENV+= CFLAGS="${CFLAGS}"
|
|
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,${PREFIX},g"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|