head 1.26; access; symbols pkgsrc-2023Q4:1.26.0.44 pkgsrc-2023Q4-base:1.26 pkgsrc-2023Q3:1.26.0.42 pkgsrc-2023Q3-base:1.26 pkgsrc-2023Q2:1.26.0.40 pkgsrc-2023Q2-base:1.26 pkgsrc-2023Q1:1.26.0.38 pkgsrc-2023Q1-base:1.26 pkgsrc-2022Q4:1.26.0.36 pkgsrc-2022Q4-base:1.26 pkgsrc-2022Q3:1.26.0.34 pkgsrc-2022Q3-base:1.26 pkgsrc-2022Q2:1.26.0.32 pkgsrc-2022Q2-base:1.26 pkgsrc-2022Q1:1.26.0.30 pkgsrc-2022Q1-base:1.26 pkgsrc-2021Q4:1.26.0.28 pkgsrc-2021Q4-base:1.26 pkgsrc-2021Q3:1.26.0.26 pkgsrc-2021Q3-base:1.26 pkgsrc-2021Q2:1.26.0.24 pkgsrc-2021Q2-base:1.26 pkgsrc-2021Q1:1.26.0.22 pkgsrc-2021Q1-base:1.26 pkgsrc-2020Q4:1.26.0.20 pkgsrc-2020Q4-base:1.26 pkgsrc-2020Q3:1.26.0.18 pkgsrc-2020Q3-base:1.26 pkgsrc-2020Q2:1.26.0.16 pkgsrc-2020Q2-base:1.26 pkgsrc-2020Q1:1.26.0.12 pkgsrc-2020Q1-base:1.26 pkgsrc-2019Q4:1.26.0.14 pkgsrc-2019Q4-base:1.26 pkgsrc-2019Q3:1.26.0.10 pkgsrc-2019Q3-base:1.26 pkgsrc-2019Q2:1.26.0.8 pkgsrc-2019Q2-base:1.26 pkgsrc-2019Q1:1.26.0.6 pkgsrc-2019Q1-base:1.26 pkgsrc-2018Q4:1.26.0.4 pkgsrc-2018Q4-base:1.26 pkgsrc-2018Q3:1.26.0.2 pkgsrc-2018Q3-base:1.26 pkgsrc-2018Q2:1.25.0.10 pkgsrc-2018Q2-base:1.25 pkgsrc-2018Q1:1.25.0.8 pkgsrc-2018Q1-base:1.25 pkgsrc-2017Q4:1.25.0.6 pkgsrc-2017Q4-base:1.25 pkgsrc-2017Q3:1.25.0.4 pkgsrc-2017Q3-base:1.25 pkgsrc-2017Q2:1.24.0.38 pkgsrc-2017Q2-base:1.24 pkgsrc-2017Q1:1.24.0.36 pkgsrc-2017Q1-base:1.24 pkgsrc-2016Q4:1.24.0.34 pkgsrc-2016Q4-base:1.24 pkgsrc-2016Q3:1.24.0.32 pkgsrc-2016Q3-base:1.24 pkgsrc-2016Q2:1.24.0.30 pkgsrc-2016Q2-base:1.24 pkgsrc-2016Q1:1.24.0.28 pkgsrc-2016Q1-base:1.24 pkgsrc-2015Q4:1.24.0.26 pkgsrc-2015Q4-base:1.24 pkgsrc-2015Q3:1.24.0.24 pkgsrc-2015Q3-base:1.24 pkgsrc-2015Q2:1.24.0.22 pkgsrc-2015Q2-base:1.24 pkgsrc-2015Q1:1.24.0.20 pkgsrc-2015Q1-base:1.24 pkgsrc-2014Q4:1.24.0.18 pkgsrc-2014Q4-base:1.24 pkgsrc-2014Q3:1.24.0.16 pkgsrc-2014Q3-base:1.24 pkgsrc-2014Q2:1.24.0.14 pkgsrc-2014Q2-base:1.24 pkgsrc-2014Q1:1.24.0.12 pkgsrc-2014Q1-base:1.24 pkgsrc-2013Q4:1.24.0.10 pkgsrc-2013Q4-base:1.24 pkgsrc-2013Q3:1.24.0.8 pkgsrc-2013Q3-base:1.24 pkgsrc-2013Q2:1.24.0.6 pkgsrc-2013Q2-base:1.24 pkgsrc-2013Q1:1.24.0.4 pkgsrc-2013Q1-base:1.24 pkgsrc-2012Q4:1.24.0.2 pkgsrc-2012Q4-base:1.24 pkgsrc-2012Q3:1.23.0.26 pkgsrc-2012Q3-base:1.23 pkgsrc-2012Q2:1.23.0.24 pkgsrc-2012Q2-base:1.23 pkgsrc-2012Q1:1.23.0.22 pkgsrc-2012Q1-base:1.23 pkgsrc-2011Q4:1.23.0.20 pkgsrc-2011Q4-base:1.23 pkgsrc-2011Q3:1.23.0.18 pkgsrc-2011Q3-base:1.23 pkgsrc-2011Q2:1.23.0.16 pkgsrc-2011Q2-base:1.23 pkgsrc-2011Q1:1.23.0.14 pkgsrc-2011Q1-base:1.23 pkgsrc-2010Q4:1.23.0.12 pkgsrc-2010Q4-base:1.23 pkgsrc-2010Q3:1.23.0.10 pkgsrc-2010Q3-base:1.23 pkgsrc-2010Q2:1.23.0.8 pkgsrc-2010Q2-base:1.23 pkgsrc-2010Q1:1.23.0.6 pkgsrc-2010Q1-base:1.23 pkgsrc-2009Q4:1.23.0.4 pkgsrc-2009Q4-base:1.23 pkgsrc-2009Q3:1.23.0.2 pkgsrc-2009Q3-base:1.23 pkgsrc-2009Q2:1.22.0.26 pkgsrc-2009Q2-base:1.22 pkgsrc-2009Q1:1.22.0.24 pkgsrc-2009Q1-base:1.22 pkgsrc-2008Q4:1.22.0.22 pkgsrc-2008Q4-base:1.22 pkgsrc-2008Q3:1.22.0.20 pkgsrc-2008Q3-base:1.22 cube-native-xorg:1.22.0.18 cube-native-xorg-base:1.22 pkgsrc-2008Q2:1.22.0.16 pkgsrc-2008Q2-base:1.22 cwrapper:1.22.0.14 pkgsrc-2008Q1:1.22.0.12 pkgsrc-2008Q1-base:1.22 pkgsrc-2007Q4:1.22.0.10 pkgsrc-2007Q4-base:1.22 pkgsrc-2007Q3:1.22.0.8 pkgsrc-2007Q3-base:1.22 pkgsrc-2007Q2:1.22.0.6 pkgsrc-2007Q2-base:1.22 pkgsrc-2007Q1:1.22.0.4 pkgsrc-2007Q1-base:1.22 pkgsrc-2006Q4:1.22.0.2 pkgsrc-2006Q4-base:1.22 pkgsrc-2006Q3:1.21.0.4 pkgsrc-2006Q3-base:1.21 pkgsrc-2006Q2:1.21.0.2 pkgsrc-2006Q2-base:1.21 pkgsrc-2006Q1:1.20.0.2 pkgsrc-2006Q1-base:1.20 pkgsrc-2005Q4:1.19.0.2 pkgsrc-2005Q4-base:1.19 pkgsrc-2005Q3:1.16.0.2 pkgsrc-2005Q3-base:1.16 pkgsrc-2005Q2:1.15.0.2 pkgsrc-2005Q2-base:1.15 pkgsrc-2005Q1:1.13.0.4 pkgsrc-2005Q1-base:1.13 pkgsrc-2004Q4:1.13.0.2 pkgsrc-2004Q4-base:1.13 pkgsrc-2004Q3:1.11.0.4 pkgsrc-2004Q3-base:1.11 pkgsrc-2004Q2:1.11.0.2 pkgsrc-2004Q2-base:1.11 pkgsrc-2004Q1:1.10.0.2 pkgsrc-2004Q1-base:1.10 pkgsrc-2003Q4:1.7.0.2 pkgsrc-2003Q4-base:1.7 netbsd-1-6-1:1.4.0.2 netbsd-1-6-1-base:1.4 netbsd-1-6:1.3.0.8 netbsd-1-6-RELEASE-base:1.3 pkgviews:1.3.0.4 pkgviews-base:1.3 buildlink2:1.3.0.2 buildlink2-base:1.3 netbsd-1-5-PATCH003:1.3 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.26 date 2018.07.04.13.40.39; author jperkin; state Exp; branches; next 1.25; commitid NnIyRkdX3Lbg3PIA; 1.25 date 2017.08.16.20.21.15; author wiz; state Exp; branches; next 1.24; commitid rqudPoPPU2GmEt3A; 1.24 date 2012.10.25.06.55.53; author asau; state Exp; branches; next 1.23; 1.23 date 2009.07.07.22.08.13; author joerg; state Exp; branches; next 1.22; 1.22 date 2006.12.15.14.34.21; author wiz; state Exp; branches; next 1.21; 1.21 date 2006.04.22.09.22.15; author rillig; state Exp; branches; next 1.20; 1.20 date 2006.02.05.23.11.02; author joerg; state Exp; branches; next 1.19; 1.19 date 2005.12.05.20.51.03; author rillig; state Exp; branches; next 1.18; 1.18 date 2005.12.04.15.50.13; author ben; state Exp; branches; next 1.17; 1.17 date 2005.11.08.19.37.21; author tv; state Exp; branches; next 1.16; 1.16 date 2005.07.08.18.56.56; author kristerw; state Exp; branches; next 1.15; 1.15 date 2005.05.22.20.08.34; author jlam; state Exp; branches; next 1.14; 1.14 date 2005.05.19.18.34.34; author ben; state Exp; branches; next 1.13; 1.13 date 2004.09.22.17.38.30; author ben; state Exp; branches; next 1.12; 1.12 date 2004.09.22.17.00.33; author ben; state Exp; branches; next 1.11; 1.11 date 2004.04.17.04.49.07; author ben; state Exp; branches; next 1.10; 1.10 date 2004.01.20.12.26.49; author agc; state Exp; branches; next 1.9; 1.9 date 2003.12.24.09.53.50; author jmmv; state Exp; branches; next 1.8; 1.8 date 2003.12.13.20.14.27; author ben; state Exp; branches; next 1.7; 1.7 date 2003.07.21.17.27.32; author martti; state Exp; branches; next 1.6; 1.6 date 2003.07.19.08.54.34; author wiz; state Exp; branches; next 1.5; 1.5 date 2003.03.29.12.42.37; author jmmv; state Exp; branches; next 1.4; 1.4 date 2002.12.24.18.55.42; author wiz; state Exp; branches; next 1.3; 1.3 date 2001.11.29.01.12.49; author hubertf; state Exp; branches; next 1.2; 1.2 date 2001.09.09.20.36.49; author agc; state Exp; branches; next 1.1; 1.1 date 2001.05.23.15.47.43; author agc; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2001.05.23.15.47.43; author agc; state Exp; branches; next ; desc @@ 1.26 log @*: Move SUBST_STAGE from post-patch to pre-configure 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. @ text @# $NetBSD: Makefile,v 1.25 2017/08/16 20:21:15 wiz 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" @ 1.25 log @Follow some http redirects. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.24 2012/10/25 06:55:53 asau Exp $ d25 1 a25 1 SUBST_STAGE.prefix= post-patch @ 1.24 log @Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.23 2009/07/07 22:08:13 joerg Exp $ d10 1 a10 1 HOMEPAGE= http://sourceforge.net/projects/helpdeco/ @ 1.23 log @user-destdir support @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.22 2006/12/15 14:34:21 wiz Exp $ a12 2 PKG_DESTDIR_SUPPORT= user-destdir @ 1.22 log @Reset maintainer, ben@@ has resigned. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.21 2006/04/22 09:22:15 rillig Exp $ d13 2 d29 1 a29 1 SUBST_SED.prefix= -e "s,/usr/local,${PREFIX},g" @ 1.21 log @Removed the superfluous "quotes" and 'quotes' from variables that don't need them, for example RESTRICTED and SUBST_MESSAGE.*. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.20 2006/02/05 23:11:02 joerg Exp $ d9 1 a9 1 MAINTAINER= ben@@NetBSD.org @ 1.20 log @Recursive revision bump / recommended bump for gettext ABI change. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.19 2005/12/05 20:51:03 rillig Exp $ d24 1 a24 1 SUBST_MESSAGE.prefix= "Configuring to use PREFIX." @ 1.19 log @Fixed pkglint warnings. The warnings are mostly quoting issues, for example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some other changes are outlined in http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.18 2005/12/04 15:50:13 ben Exp $ d5 1 @ 1.18 log @Update helpdeco to version 2.1.3. Changes include: * helpdec1.c, helpdeco.h: Improve const correctness - thanks to Markus Elfring (elfring) for the tip * compat.c: Apply patch from Dirk Jagdmann (doj) to fix pointer flibbling * splitmrb.c: Apply patch from Dirk Jagdmann (doj) to fix HOTSPOT struct packing with GCC >= 3 * compat.c, compat.h, helpdeco.c, splitmrb.c, zapres.c: Apply patch from Dirk Jagdmann (doj) to use POSIX path defines instead of DOS ones. * helpdec1.c, helpdeco.c: Add patch for compiling with GCC 4.0 from Andreas Jochens @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.17 2005/11/08 19:37:21 tv Exp $ d18 1 a18 1 MAKE_ENV+= CFLAGS="${CFLAGS}" @ 1.17 log @Interix has strlcpy(3) too. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.16 2005/07/08 18:56:56 kristerw Exp $ d4 1 a4 1 DISTNAME= helpdeco-2.1.1 @ 1.16 log @Do not include malloc.h, and add HAVE_STRLCPY for Darwin too. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.15 2005/05/22 20:08:34 jlam Exp $ d14 1 a14 1 .if ${OPSYS} == "NetBSD" || ${OPSYS} == "Darwin" @ 1.15 log @Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: USE_GNU_TOOLS -> USE_TOOLS awk -> gawk m4 -> gm4 make -> gmake sed -> gsed yacc -> bison @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.14 2005/05/19 18:34:34 ben Exp $ d14 1 a14 1 .if ${OPSYS} == "NetBSD" @ 1.14 log @Update helpdeco to version 2.1.1. Notable changes: * moved to sourceforge * put under GPL instead of non-commercial license, with permission from original author * portability fixes @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 2004/09/22 17:38:30 ben Exp $ d20 1 a20 1 USE_GNU_TOOLS+= make @ 1.13 log @The nbcompat library is not ready for general use in packages, remove the libnbcompat dependency. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2004/09/22 17:00:33 ben Exp $ d4 1 a4 3 DISTNAME= helpdc21 PKGNAME= helpdeco-21 PKGREVISION= 1 d6 1 a6 2 MASTER_SITES= ${MASTER_SITE_SIMTEL:=win95/winhelp/} EXTRACT_SUFX= .zip d9 1 a9 1 HOMEPAGE= http://www.simtel.net/pub/pd/23694.shtml a11 23 LICENSE= no-commercial-use WRKSRC= ${WRKDIR} # from ftp://ftp.simtel.net/pub/simtelnet/MIRRORS.TXT MASTER_SITE_SIMTEL+= ftp://ftp.cdrom.com/pub/simtelnet/ \ ftp://ftp.datacanyon.com/pub/simtelnet/ \ ftp://ftp.digital.com/pub/micro/pc/simtelnet/ \ ftp://ftp.usg.edu/pub/mirrors/simtelnet/ \ ftp://uiarchive.cso.uiuc.edu/pub/systems/pc/simtelnet/ \ ftp://ftp.bu.edu/pub/mirrors/simtelnet/ \ ftp://simtel.klondyke.net/simtel/ \ ftp://simtelnet.galilei.com/pub/simtelnet/ \ ftp://ftp.rge.com/pub/systems/simtelnet/ \ ftp://ftp.ou.edu/pub/simtelnet/ \ ftp://ftp.orst.edu/pub/simtelnet/ \ ftp://ftphost.simtel.net/pub/simtelnet/ \ ftp://mirrors.aol.com/pub/simtelnet/ \ ftp://ftp.simtel.net/pub/simtelnet/ \ ftp://ftp.telusplanet.net/pub/simtelnet/ \ ftp://ftp.crc.ca/pub/systems/ibmpc/simtelnet/ \ ftp://ftp.direct.ca/pub/simtelnet/ d14 2 a15 2 .if ${OPSYS} == "Linux" CFLAGS+= -Dstrlcpy=strncpy d19 2 d22 5 a26 21 post-extract: ${RM} -f ${WRKSRC}/*exe ${CP} ${FILESDIR}/helpdeco-de.txt \ ${FILESDIR}/helpdeco-en.txt \ ${FILESDIR}/compat.h \ ${FILESDIR}/compat.c \ ${WRKSRC} ${SED} "s|PREFIX|${PREFIX}|" \ <${FILESDIR}/Makefile \ >${WRKSRC}/Makefile do-install: ${CP} ${WRKSRC}/splitmrb \ ${WRKSRC}/zapres \ ${WRKSRC}/helpdeco \ ${PREFIX}/bin ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/helpdeco ${CP} ${WRKSRC}/helpdeco-de.txt \ ${WRKSRC}/helpdeco-en.txt \ ${WRKSRC}/helpfile.txt \ ${PREFIX}/share/doc/helpdeco @ 1.12 log @Apply patches from Georg Schwarz in order to compile helpdeco on IRIX 5.3. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2004/04/17 04:49:07 ben Exp $ a43 5 .if !empty(LOWER_OPSYS:Mirix5*) DEPENDS+= ../../pkgtools/libnbcompat LDFLAGS+= -lgen -L${LOCALBASE}/lib -lnbcompat .endif @ 1.11 log @Make helpdeco build and run in Linux. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2004/01/20 12:26:49 agc Exp $ d44 5 @ 1.10 log @Move WRKSRC definition away from the first paragraph in a Makefile. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2003/12/24 09:53:50 jmmv Exp $ d38 8 @ 1.9 log @s/@@netbsd.org/@@NetBSD.org/ in MAINTAINER. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2003/12/13 20:14:27 ben Exp $ a6 1 WRKSRC= ${WRKDIR} d17 2 @ 1.8 log @Update MAINTAINER email address. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2003/07/21 17:27:32 martti Exp $ d12 1 a12 1 MAINTAINER= ben@@netbsd.org @ 1.7 log @COMMENT should start with a capital letter. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2003/07/19 08:54:34 wiz Exp $ d12 1 a12 1 MAINTAINER= collver1@@comcast.net @ 1.6 log @Change address of maintainer per PR 22170. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2003/03/29 12:42:37 jmmv Exp $ d14 1 a14 1 COMMENT= windows .hlp to .rtf converter @ 1.5 log @Place WRKSRC where it belongs, to make pkglint happy; ok'ed by wiz. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2002/12/24 18:55:42 wiz Exp $ d12 1 a12 1 MAINTAINER= collver1@@attbi.com @ 1.4 log @Replace collver@@linuxfreemail.com with collver1@@attbi.com. Closes PRs 19516, 19517, 19518, 19519, 19520, 19521, 19522, 19523, 19524, 19525 and some more, perhaps. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2001/11/29 01:12:49 hubertf Exp $ d7 1 a14 2 WRKSRC= ${WRKDIR} @ 1.3 log @Get rid of manually adding "nbX" to PKGNAME when a pkg was changed in pkgsrc. Instead, a new variable PKGREVISION is invented that can get bumped independent of DISTNAME and PKGNAME. Example #1: DISTNAME= foo-X.Y PKGREVISION= Z => PKGNAME= foo-X.YnbZ Example #2: DISTNAME= barthing-X.Y PKGNAME= bar-X.Y PKGREVISION= Z => PKGNAME= bar=X.YnbZ (!) On subsequent changes, only PKGREVISION needs to be bumped, no more risk of getting DISTNAME changed accidentally. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2001/09/09 20:36:49 agc Exp $ d11 1 a11 1 MAINTAINER= collver@@linuxfreemail.com @ 1.2 log @Deprecate NO_WRKSUBDIR, replacing it with an explicit assignment of: WRKSRC= ${WRKDIR} This is much cleaner, much more indicative of what happens, and removes another of the negative definitions (NO_.* = value). @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1.1.1 2001/05/23 15:47:43 agc Exp $ d5 2 a6 1 PKGNAME= helpdeco-21nb1 @ 1.1 log @Initial revision @ text @d1 1 a1 1 # $NetBSD$ d14 1 a14 1 NO_WRKSUBDIR= yes @ 1.1.1.1 log @Initial import of helpdeco-21 into the packages collection. Provided by Ben Collver (collver@@linuxfreemail.com) in PR 12927 helpdeco is a windows .hlp to RTF converter. @ text @@