blob: d0671260af2d08d67a541e51536291b497dd53f2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# $NetBSD: Makefile,v 1.57 2001/08/08 07:37:51 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"
|