summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzuntum <zuntum>2001-06-26 12:37:16 +0000
committerzuntum <zuntum>2001-06-26 12:37:16 +0000
commit14cb7dd2f8c79932292c415406951fbe8233f249 (patch)
tree6ea0cce9348522bd59b9074a65970bebcf1cb52d
parent3a758c92aa34946314e7f35d7ce8a20eaed5b550 (diff)
downloadpkgsrc-14cb7dd2f8c79932292c415406951fbe8233f249.tar.gz
converted to use buildlink.mk
-rw-r--r--editors/manedit/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/editors/manedit/Makefile b/editors/manedit/Makefile
index 99578b8ffc4..847c80e6190 100644
--- a/editors/manedit/Makefile
+++ b/editors/manedit/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2001/06/11 20:58:32 zuntum Exp $
+# $NetBSD: Makefile,v 1.8 2001/06/26 12:37:16 zuntum Exp $
#
DISTNAME= ${PKGNAME:S,manedit-,manedit,}
@@ -11,11 +11,11 @@ MAINTAINER= packages@netbsd.org
HOMEPAGE= http://wolfpack.twu.net/ManEdit/
COMMENT= UNIX Manual (man, manpage) page editor, viewer, and browser for X11
-DEPENDS+= gtk+-*:../../x11/gtk
-
WRKSRC= ${WRKDIR}/${DISTNAME}/manedit
-MAKE_ENV+= CPP="${CXX}"
+USE_BUILDLINK_ONLY= YES
+
+MAKE_ENV+= CPP="${CXX}" GTK_CONFIG="${BUILDLINK_CONFIG_WRAPPER.gtk}"
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/manedit ${PREFIX}/bin
@@ -32,4 +32,5 @@ do-install:
cd ${WRKSRC} && ${INSTALL_DATA} manedit.xpm \
${PREFIX}/share/manedit/icons
+.include "../../x11/gtk/buildlink.mk"
.include "../../mk/bsd.pkg.mk"