5393242c73
Performing substitutions during post-patch breaks tools such as mkpatches, making it very difficult to regenerate correct patches after making changes, and often leading to substituted string replacements being committed.
29 lines
757 B
Makefile
29 lines
757 B
Makefile
# $NetBSD: Makefile,v 1.26 2018/07/04 13:40:39 jperkin Exp $
|
|
#
|
|
|
|
DISTNAME= helpdeco-2.1.3
|
|
PKGREVISION= 1
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=helpdeco/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://sourceforge.net/projects/helpdeco/
|
|
COMMENT= Windows .hlp to .rtf converter
|
|
|
|
.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= pre-configure
|
|
SUBST_FILES.prefix= Makefile
|
|
SUBST_SED.prefix= -e "s,/usr/local,${DESTDIR}${PREFIX},g"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|