aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/inti-sourceview/Makefile
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2004-03-19 08:44:14 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2004-03-19 08:44:14 +0000
commit5ebbc5f82ce7e358b4ffb91159f52e85c9811ef1 (patch)
tree939b4e0242693e3c3acfb65dea67f9f8313bd880 /x11-toolkits/inti-sourceview/Makefile
parent52de6fee7fcf792381959c9f375dbd74cc26a1ba (diff)
downloadports-5ebbc5f82ce7e358b4ffb91159f52e85c9811ef1.tar.gz
ports-5ebbc5f82ce7e358b4ffb91159f52e85c9811ef1.zip
Notes
Diffstat (limited to 'x11-toolkits/inti-sourceview/Makefile')
-rw-r--r--x11-toolkits/inti-sourceview/Makefile47
1 files changed, 47 insertions, 0 deletions
diff --git a/x11-toolkits/inti-sourceview/Makefile b/x11-toolkits/inti-sourceview/Makefile
new file mode 100644
index 000000000000..e934dee2cd40
--- /dev/null
+++ b/x11-toolkits/inti-sourceview/Makefile
@@ -0,0 +1,47 @@
+# ex:ts=8
+# Ports collection makefile for: intk-sourceview
+# Date created: Mar 19, 2004
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= inti-sourceview
+PORTVERSION= 0.6
+CATEGORIES= x11-toolkits
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= inti
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= An Inti binding for GtkSourceView
+
+LIB_DEPENDS= inti-1.0.9:${PORTSDIR}/x11-toolkits/inti
+
+USE_GNOME= gtksourceview gnomehack gnomeprefix
+WRKSRC= ${WRKDIR}/lib${PKGNAME}
+GNU_CONFIGURE= yes
+INSTALLS_SHLIB= yes
+
+PLIST_FILES= lib/libinti-sourceview-1.0.so lib/libinti-sourceview-1.0.so.0 \
+ lib/inti-1.0/include/inti-sourceview-config.h \
+ libdata/pkgconfig/inti-sourceview-1.0.pc
+
+.if !defined(NOPORTDOCS)
+PORTDOCS= *
+.endif
+
+post-configure:
+ @${TOUCH} ${WRKSRC}/inti-sourceview-config.h.in
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ @${CP} -R ${WRKSRC}/docs/ ${DOCSDIR}
+.endif
+ @${ECHO_CMD} "include/inti-1.0/inti/inti-sourceview.h" >> ${TMPPLIST}
+ @${FIND} ${PREFIX}/include/inti-1.0/inti/gtk-sourceview -type f | \
+ ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
+ @${ECHO_CMD} "@dirrm include/inti-1.0/inti/gtk-sourceview/private" >> ${TMPPLIST}
+ @${ECHO_CMD} "@dirrm include/inti-1.0/inti/gtk-sourceview" >> ${TMPPLIST}
+
+.include <bsd.port.mk>