2020-05-31 17:24:20 +02:00
|
|
|
# $NetBSD: Makefile,v 1.107 2020/05/31 15:24:20 rillig Exp $
|
2001-06-30 21:08:21 +02:00
|
|
|
|
2010-01-16 10:15:25 +01:00
|
|
|
DISTNAME= lesstif-0.95.2
|
2018-03-12 12:15:24 +01:00
|
|
|
PKGREVISION= 7
|
2003-12-12 11:11:39 +01:00
|
|
|
CATEGORIES= x11
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=lesstif/}
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
2002-12-05 20:10:42 +01:00
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2003-12-12 11:11:39 +01:00
|
|
|
HOMEPAGE= http://www.lesstif.org/
|
2001-06-30 21:08:21 +02:00
|
|
|
COMMENT= API compatible clone of the OSF/Motif toolkit
|
2001-02-17 18:06:11 +01:00
|
|
|
|
2001-09-14 03:57:44 +02:00
|
|
|
CONFLICTS+= openmotif-[0-9]*
|
|
|
|
|
2005-06-30 17:42:49 +02:00
|
|
|
USE_LIBTOOL= yes
|
2006-07-29 16:32:12 +02:00
|
|
|
USE_TOOLS+= gmake
|
2005-06-30 17:42:49 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2010-01-16 10:15:25 +01:00
|
|
|
CONFIGURE_ARGS+= --disable-debug
|
|
|
|
CONFIGURE_ARGS+= --disable-verbose
|
|
|
|
CONFIGURE_ARGS+= --enable-production
|
2002-12-05 20:10:42 +01:00
|
|
|
|
|
|
|
# The following forces the build process to use sed as the HTML-to-text
|
|
|
|
# converter.
|
|
|
|
CONFIGURE_ENV+= LYNX_CMD=${WRKDIR}/nonexecutable
|
|
|
|
CONFIGURE_ENV+= LINKS_CMD=${WRKDIR}/nonexecutable
|
2000-10-23 21:45:05 +02:00
|
|
|
|
|
|
|
DEINSTALL_FILE= ${WRKDIR}/DEINSTALL
|
|
|
|
INSTALL_FILE= ${WRKDIR}/INSTALL
|
2005-12-05 21:49:47 +01:00
|
|
|
FILES_SUBST+= LOCALBASE=${LOCALBASE:Q}
|
|
|
|
FILES_SUBST+= X11BASE=${X11BASE:Q}
|
2001-08-08 09:37:51 +02:00
|
|
|
FILES_SUBST+= CP=${CP:Q}
|
2001-10-03 12:03:54 +02:00
|
|
|
FILES_SUBST+= CMP=${CMP:Q}
|
|
|
|
FILES_SUBST+= ECHO=${ECHO:Q}
|
2001-08-08 09:37:51 +02:00
|
|
|
FILES_SUBST+= GREP=${GREP:Q}
|
2001-06-30 21:08:21 +02:00
|
|
|
FILES_SUBST+= LN=${LN:Q}
|
2001-10-03 12:03:54 +02:00
|
|
|
FILES_SUBST+= MV=${MV:Q}
|
2001-06-30 21:08:21 +02:00
|
|
|
FILES_SUBST+= RM=${RM:Q}
|
|
|
|
FILES_SUBST+= RMDIR=${RMDIR:Q}
|
|
|
|
FILES_SUBST+= TRUE=${TRUE:Q}
|
|
|
|
|
2002-12-05 20:10:42 +01:00
|
|
|
post-extract:
|
|
|
|
cd ${WRKSRC}/lib/config; ${MV} -f host.def LessTif.def
|
|
|
|
|
|
|
|
# Change references to {Core,Object,Shell}.3 to X{Core,Object,Shell}.3 to
|
|
|
|
# avoid manpage conflicts with other packages.
|
|
|
|
post-patch:
|
|
|
|
cd ${WRKSRC}/doc/lessdox/widgets; \
|
|
|
|
for name in Core Object Shell; do \
|
|
|
|
${MV} -f $${name}.3 X$${name}.3; \
|
|
|
|
files=`${GREP} -l "[[:blank:]]$${name} (3)" *.3`; \
|
|
|
|
for file in $${files}; do \
|
|
|
|
${MV} -f $${file} $${file}.presubst; \
|
|
|
|
${SED} -e "s|\([[:blank:]]\)$${name} (3)|\1X$${name} (3)|g" \
|
|
|
|
$${file}.presubst > $${file}; \
|
|
|
|
${RM} -f $${file}.presubst; \
|
|
|
|
done; \
|
|
|
|
${MV} -f Makefile.in Makefile.in.presubst; \
|
|
|
|
${SED} -e "s|\([[:space:]]\)$${name}.3|\1X$${name}.3|g" \
|
|
|
|
Makefile.in.presubst > Makefile.in; \
|
|
|
|
${RM} -f Makefile.in.presubst; \
|
|
|
|
done
|
|
|
|
|
2004-09-28 14:52:13 +02:00
|
|
|
.include "../../fonts/fontconfig/buildlink3.mk"
|
2006-12-27 14:37:35 +01:00
|
|
|
.include "../../x11/libXext/buildlink3.mk"
|
2015-06-18 08:02:42 +02:00
|
|
|
.include "../../x11/libXft/buildlink3.mk"
|
2006-12-15 21:32:52 +01:00
|
|
|
.include "../../x11/libXrender/buildlink3.mk"
|
2006-12-27 14:37:35 +01:00
|
|
|
.include "../../x11/libXt/buildlink3.mk"
|
2001-06-30 21:08:21 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|