diff options
author | mjl <mjl> | 2002-08-26 19:21:19 +0000 |
---|---|---|
committer | mjl <mjl> | 2002-08-26 19:21:19 +0000 |
commit | 30bfbf0a923be1db8176644593a18c7e810e37a7 (patch) | |
tree | f903cf50c6f4383fdcb711cc24d59ae456185bf4 /math/guppi | |
parent | b9137289b9b8b0bf86095272ced930506e07a32e (diff) | |
download | pkgsrc-30bfbf0a923be1db8176644593a18c7e810e37a7.tar.gz |
Add buildlink.mk, needed for gnucash
Diffstat (limited to 'math/guppi')
-rw-r--r-- | math/guppi/buildlink.mk | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/math/guppi/buildlink.mk b/math/guppi/buildlink.mk new file mode 100644 index 00000000000..59f425f43db --- /dev/null +++ b/math/guppi/buildlink.mk @@ -0,0 +1,35 @@ +# $NetBSD: buildlink.mk,v 1.1 2002/08/26 19:21:19 mjl Exp $ +# +# This Makefile fragment is included by packages that use guppi. +# +# To use this Makefile fragment, simply: +# +# (1) Optionally define BUILDLINK_DEPENDS.guppi to the dependency pattern +# for the version of gupp 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(GUPPI_BUILDLINK_MK) +GUPPI_BUILDLINK_MK= # defined + +.include "../../mk/bsd.buildlink.mk" + +BUILDLINK_DEPENDS.guppi?= guppi>=0.40.3 +DEPENDS+= ${BUILDLINK_DEPENDS.guppi}:../../math/guppi + +EVAL_PREFIX+= BUILDLINK_PREFIX.guppi=guppi +BUILDLINK_PREFIX.guppi= ${LOCALBASE} +BUILDLINK_FILES.guppi+= include/gnome-1.0/libguppi/* +BUILDLINK_FILES.guppi+= include/gnome-1.0/libguppitank/* +BUILDLINK_FILES.guppi+= lib/libguppi* + +BUILDLINK_TARGETS.guppi= guppi-buildlink +BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.guppi} + +pre-configure: ${BUILDLINK_TARGETS.guppi} +guppi-buildlink: _BUILDLINK_USE + +.endif # GUPPI_BUILDLINK_MK |