diff options
Diffstat (limited to 'x11/lesstif12')
-rw-r--r-- | x11/lesstif12/Makefile | 5 | ||||
-rw-r--r-- | x11/lesstif12/buildlink2.mk | 24 |
2 files changed, 26 insertions, 3 deletions
diff --git a/x11/lesstif12/Makefile b/x11/lesstif12/Makefile index 47bc8c5de45..ccee4a8ab66 100644 --- a/x11/lesstif12/Makefile +++ b/x11/lesstif12/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2001/09/14 01:57:44 jlam Exp $ +# $NetBSD: Makefile,v 1.11 2002/08/25 18:40:39 jlam Exp $ PKGNAME= lesstif12-${LESSTIF_VERSION} COMMENT= API compatible clone of the OSF/Motif toolkit, version 1.2 @@ -7,7 +7,7 @@ CONFLICTS+= lesstif-0.[0-8]* CONFLICTS+= lesstif-0.90* CONFLICTS+= lesstif-0.91 lesstif-0.91.[0-3] -USE_BUILDLINK_ONLY= # defined +USE_BUILDLINK2= # defined .include "../lesstif/Makefile.common" @@ -22,5 +22,4 @@ CONFIGURE_ARGS+= --enable-default-12 post-install: ${RMDIR} -p ${PREFIX}/share/doc/html/lesstif 2> /dev/null || ${TRUE} -.include "../../mk/x11.buildlink.mk" .include "../../mk/bsd.pkg.mk" diff --git a/x11/lesstif12/buildlink2.mk b/x11/lesstif12/buildlink2.mk new file mode 100644 index 00000000000..ed5ee4bbf33 --- /dev/null +++ b/x11/lesstif12/buildlink2.mk @@ -0,0 +1,24 @@ +# $NetBSD: buildlink2.mk,v 1.2 2002/08/25 18:40:39 jlam Exp $ + +.if !defined(LESSTIF12_BUILDLINK2_MK) +LESSTIF12_BUILDLINK2_MK= # defined + +BUILDLINK_PACKAGES+= lesstif12 +BUILDLINK_DEPENDS.lesstif12?= lesstif12>=0.91.4 +BUILDLINK_PKGSRCDIR.lesstif12?= ../../x11/lesstif12 + +EVAL_PREFIX+= _LESSTIF12_PREFIX=lesstif12 +_LESSTIF12_PREFIX_DEFAULT= ${X11PREFIX} +BUILDLINK_PREFIX.lesstif12= ${_LESSTIF12_PREFIX}/LessTif/Motif1.2 +BUILDLINK_FILES.lesstif12= include/Mrm/* +BUILDLINK_FILES.lesstif12+= include/Xm/* +BUILDLINK_FILES.lesstif12+= include/uil/* +BUILDLINK_FILES.lesstif12+= lib/libMrm.* +BUILDLINK_FILES.lesstif12+= lib/libUil.* +BUILDLINK_FILES.lesstif12+= lib/libXm.* + +BUILDLINK_TARGETS+= lesstif12-buildlink + +lesstif12-buildlink: _BUILDLINK_USE + +.endif # LESSTIF12_BUILDLINK2_MK |