2005-12-05 21:49:47 +01:00
|
|
|
# $NetBSD: Makefile,v 1.19 2005/12/05 20:51:03 rillig Exp $
|
2001-05-23 17:47:43 +02:00
|
|
|
#
|
|
|
|
|
2005-12-04 16:50:13 +01:00
|
|
|
DISTNAME= helpdeco-2.1.3
|
2001-05-23 17:47:43 +02:00
|
|
|
CATEGORIES= textproc
|
2005-05-19 20:34:34 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=helpdeco/}
|
2001-05-23 17:47:43 +02:00
|
|
|
|
2003-12-24 10:53:47 +01:00
|
|
|
MAINTAINER= ben@NetBSD.org
|
2005-05-19 20:34:34 +02:00
|
|
|
HOMEPAGE= http://sourceforge.net/projects/helpdeco/
|
2003-07-21 19:27:24 +02:00
|
|
|
COMMENT= Windows .hlp to .rtf converter
|
2001-05-23 17:47:43 +02:00
|
|
|
|
2004-04-17 06:49:07 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2005-11-08 20:37:21 +01:00
|
|
|
.if ${OPSYS} == "NetBSD" || ${OPSYS} == "Darwin" || ${OPSYS} == "Interix"
|
2005-05-19 20:34:34 +02:00
|
|
|
CFLAGS+= -DHAVE_STRLCPY
|
2004-04-17 06:49:07 +02:00
|
|
|
.endif
|
|
|
|
|
2005-12-05 21:49:47 +01:00
|
|
|
MAKE_ENV+= CFLAGS=${CFLAGS:M*:Q}
|
2005-05-19 20:34:34 +02:00
|
|
|
BUILD_TARGET= build
|
2005-05-22 22:07:36 +02:00
|
|
|
USE_TOOLS+= gmake
|
2005-05-19 20:34:34 +02:00
|
|
|
|
|
|
|
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"
|
2001-05-23 17:47:43 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|