summaryrefslogtreecommitdiff
path: root/cad/felt
diff options
context:
space:
mode:
authorjlam <jlam>2001-05-24 08:53:54 +0000
committerjlam <jlam>2001-05-24 08:53:54 +0000
commitea9a943426ae849f8671eeb8718e501bfeadb315 (patch)
tree5f91b7729fd1bdb67af0af17bb78b53ca29f8bd6 /cad/felt
parenteb8ff3e130393605c7f87cc5adb1b7df003f0849 (diff)
downloadpkgsrc-ea9a943426ae849f8671eeb8718e501bfeadb315.tar.gz
Standardize name of file to include for build-links to be "buildlink.mk".
Use BUILDLINK_INCDIR, BUILDLINK_LIBDIR for locations of linked headers and libraries. Create a variable BUILDLINK_TARGETS whose value is the list of build-link targets to execute.
Diffstat (limited to 'cad/felt')
-rw-r--r--cad/felt/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/cad/felt/Makefile b/cad/felt/Makefile
index daf9651aa4d..be8e0fd9715 100644
--- a/cad/felt/Makefile
+++ b/cad/felt/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2001/05/22 16:48:59 jlam Exp $
+# $NetBSD: Makefile,v 1.10 2001/05/24 08:53:54 jlam Exp $
DISTNAME= felt-3.05.src
PKGNAME= felt-3.05
@@ -24,15 +24,15 @@ MAKE_ENV+= SH="${SH}"
USE_GNU_READLINE= # uses remove_history() and history_list()
-.include "../../devel/readline/Makefile.readline"
+.include "../../devel/readline/buildlink.mk"
-CFLAGS+= -I${WRKINCDIR}
-LDFLAGS+= -L${WRKLIBDIR}
+CFLAGS+= -I${BUILDLINK_INCDIR}
+LDFLAGS+= -L${BUILDLINK_LIBDIR}
post-extract:
@${GZCAT} ${DISTDIR}/felt-3.05.ps.gz > ${WRKSRC}/felt.ps
-pre-build: link-readline-headers link-readline-libs
+pre-build: ${BUILDLINK_TARGETS}
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/felt