summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/inti/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/inti/Makefile')
-rw-r--r--x11-toolkits/inti/Makefile55
1 files changed, 55 insertions, 0 deletions
diff --git a/x11-toolkits/inti/Makefile b/x11-toolkits/inti/Makefile
new file mode 100644
index 000000000..b41ed6222
--- /dev/null
+++ b/x11-toolkits/inti/Makefile
@@ -0,0 +1,55 @@
+# ex:ts=8
+# Ports collection makefile for: intk
+# Date created: Mar 19, 2004
+# Whom: ijliao
+#
+# $FreeBSD$
+# $MCom$
+
+PORTNAME= inti
+PORTVERSION= 1.2
+PORTREVISION= 9
+CATEGORIES= x11-toolkits
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= inti
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= A set of C++ classes for developing GNOME and GTK+ applications
+
+USE_GNOME= glib20 gtk20 atk pango gnomehack gnomeprefix
+USE_X_PREFIX= yes
+USE_AUTOTOOLS= libtool:15
+CONFIGURE_ENV= CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}" \
+ LDFLAGS="${LDFLAGS} ${PTHREAD_LIBS}"
+USE_LDCONFIG= yes
+
+.if !defined(NOPORTDOCS)
+PORTDOCS= *
+.endif
+
+.include <bsd.port.pre.mk>
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|_gtk_window_get_group|gtk_window_get_group|' \
+ ${WRKSRC}/inti/gtk/window.cc
+
+post-configure:
+ @${TOUCH} ${WRKSRC}/inti-config.h.in
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ @${CP} -R ${WRKSRC}/docs/ ${DOCSDIR}
+ @${MKDIR} ${EXAMPLESDIR}
+ @${CP} -R ${WRKSRC}/examples/ ${EXAMPLESDIR}
+ @${FIND} ${EXAMPLESDIR} -type f | \
+ ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
+ @${FIND} ${EXAMPLESDIR} -type d | ${SORT} -r | \
+ ${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
+.endif
+ @${FIND} ${PREFIX}/share/inti -type f | \
+ ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
+ @${FIND} ${PREFIX}/share/inti -type d | ${SORT} -r | \
+ ${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
+
+.include <bsd.port.post.mk>