diff options
author | jlam <jlam@pkgsrc.org> | 2001-06-29 19:47:54 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2001-06-29 19:47:54 +0000 |
commit | b699ddee7b60c37ab41e368995f5bb887f5d0944 (patch) | |
tree | 27b2a0d60cf5182fae3fc5045038575dcba949cd /textproc/t1lib | |
parent | acb14427da585d6e2a5fd875322b24f40208054e (diff) | |
download | pkgsrc-b699ddee7b60c37ab41e368995f5bb887f5d0944.tar.gz |
Add buildlink.mk file for use by other package Makefiles.
Diffstat (limited to 'textproc/t1lib')
-rw-r--r-- | textproc/t1lib/buildlink.mk | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/textproc/t1lib/buildlink.mk b/textproc/t1lib/buildlink.mk new file mode 100644 index 00000000000..a0cbd10a198 --- /dev/null +++ b/textproc/t1lib/buildlink.mk @@ -0,0 +1,35 @@ +# $NetBSD: buildlink.mk,v 1.1 2001/06/29 19:47:54 jlam Exp $ +# +# This Makefile fragment is included by packages that use t1lib. +# +# To use this Makefile fragment, simply: +# +# (1) Optionally define BUILDLINK_DEPENDS.t1lib to the dependency pattern +# for the version of t1lib desired. +# (2) Include this Makefile fragment in the package Makefile, +# (3) Add ${BUILDLINK_DIR}/include to the front of the C preprocessor's header +# search path, and +# (4) Add ${BUILDLINK_DIR}/lib to the front of the linker's library search +# path. + +.if !defined(T1LIB_BUILDLINK_MK) +T1LIB_BUILDLINK_MK= # defined + +BUILDLINK_DEPENDS.t1lib?= t1lib>=1.0.1 +DEPENDS+= ${BUILDLINK_DEPENDS.t1lib}:../../textproc/t1lib + +BUILDLINK_PREFIX.t1lib= ${LOCALBASE} +BUILDLINK_FILES.t1lib= include/t1lib.h +BUILDLINK_FILES.t1lib+= include/t1libx.h +BUILDLINK_FILES.t1lib+= lib/libt1.* +BUILDLINK_FILES.t1lib+= lib/libt1x.* + +BUILDLINK_TARGETS.t1lib= t1lib-buildlink +BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.t1lib} + +pre-configure: ${BUILDLINK_TARGETS.t1lib} +t1lib-buildlink: _BUILDLINK_USE + +.include "../../mk/bsd.buildlink.mk" + +.endif # T1LIB_BUILDLINK_MK |