pkgsrc/x11/lesstif/Makefile
jlam e5bae2d580 Update lesstif and lesstif12 to 0.92.32. Changes from version 0.92.26
include:

	Small code fixes to help building on some systems
	Use new libtool version 1.4 and automake 1.4-p1
	Install more machine-indepedent files in $(prefix)
2001-06-30 19:08:21 +00:00

31 lines
904 B
Makefile

# $NetBSD: Makefile,v 1.55 2001/06/30 19:08:21 jlam Exp $
.include "../../x11/lesstif/Makefile.common"
COMMENT= API compatible clone of the OSF/Motif toolkit
CONFIGURE_ARGS+= --disable-build-12
CONFIGURE_ARGS+= --enable-build-20
CONFIGURE_ARGS+= --disable-build-21
CONFIGURE_ARGS+= --enable-default-20
DEINSTALL_FILE= ${WRKDIR}/DEINSTALL
INSTALL_FILE= ${WRKDIR}/INSTALL
FILES_SUBST= LOCALBASE=${LOCALBASE}
FILES_SUBST+= CP=${CP:Q}
FILES_SUBST+= GREP=${GREP:Q}
FILES_SUBST+= LN=${LN:Q}
FILES_SUBST+= RM=${RM:Q}
FILES_SUBST+= RMDIR=${RMDIR:Q}
FILES_SUBST+= TRUE=${TRUE:Q}
FILES_SUBST_SED= ${FILES_SUBST:S/=/@!/:S/$/!g/:S/^/ -e s!@/}
pre-install:
${SED} ${FILES_SUBST_SED} ${PKGDIR}/DEINSTALL > ${DEINSTALL_FILE}
${SED} ${FILES_SUBST_SED} ${PKGDIR}/INSTALL > ${INSTALL_FILE}
post-install:
PKG_PREFIX=${PREFIX} ${SH} ${INSTALL_FILE} ${PKGNAME} POST-INSTALL
.include "../../mk/bsd.pkg.mk"