aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/gtkada/Makefile
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2001-08-15 17:56:11 +0800
committersobomax <sobomax@FreeBSD.org>2001-08-15 17:56:11 +0800
commit1fdaa3196bfb6df97a78432f7ddb6e418fb83120 (patch)
tree63aa54a4307d2afa7e6f5c28b155a4f96ff81448 /x11-toolkits/gtkada/Makefile
parent0f32257e22edc3fd30fcfa5b78c41389b5acd9f1 (diff)
downloadfreebsd-ports-gnome-1fdaa3196bfb6df97a78432f7ddb6e418fb83120.tar.gz
freebsd-ports-gnome-1fdaa3196bfb6df97a78432f7ddb6e418fb83120.tar.zst
freebsd-ports-gnome-1fdaa3196bfb6df97a78432f7ddb6e418fb83120.zip
- Unbroke with threaded Mesa;
While I'm here: - update to 1.2.2; - respect CFLAGS; - sort pkg-plist; - properly name shared libraries. Submitted by: bento
Diffstat (limited to 'x11-toolkits/gtkada/Makefile')
-rw-r--r--x11-toolkits/gtkada/Makefile26
1 files changed, 13 insertions, 13 deletions
diff --git a/x11-toolkits/gtkada/Makefile b/x11-toolkits/gtkada/Makefile
index 19b8af2bde57..43ec98acd946 100644
--- a/x11-toolkits/gtkada/Makefile
+++ b/x11-toolkits/gtkada/Makefile
@@ -6,35 +6,35 @@
#
PORTNAME= gtkada
-PORTVERSION= 1.2.10
-PORTREVISION= 2
+PORTVERSION= 1.2.12
CATEGORIES= x11-toolkits
-MASTER_SITES= http://gtkada.eu.org/ \
+MASTER_SITES= http://libre.act-europe.fr/GtkAda/ \
+ http://gtkada.eu.org/ \
http://www.adapower.com/gtkada/
DISTNAME= GtkAda-${PORTVERSION}
+EXTRACT_SUFX= .tgz
MAINTAINER= sam@inf.enst.fr
BUILD_DEPENDS= adagcc:${PORTSDIR}/lang/gnat
+LIB_DEPENDS= glade.4:${PORTSDIR}/devel/libglade
+
+SHLIB_VERSION= ${PORTVERSION:S/1.2.//}
USE_MESA= yes
-USE_AUTOCONF= yes
USE_X_PREFIX= yes
USE_GNOMECTRL= yes
USE_GMAKE= yes
INSTALLS_SHLIB= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
+ LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
+PLIST_SUB= SHLIB_VERSION=${SHLIB_VERSION}
+
MAN1= dgate.1 gate.1 gtkada-config.1
post-install:
${INSTALL_DATA} ${WRKSRC}/docs/*.1 ${PREFIX}/man/man1/
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${PREFIX}/share/doc/gtkada
- ${INSTALL_DATA} ${WRKSRC}/docs/gtkada_rm/*.info* ${PREFIX}/info/
- ${INSTALL_DATA} ${WRKSRC}/docs/gtkada_rm/*.html ${PREFIX}/share/doc/gtkada
- ${INSTALL_DATA} ${WRKSRC}/docs/gtkada_rm/*.ps ${PREFIX}/share/doc/gtkada
- ${INSTALL_DATA} ${WRKSRC}/docs/gtkada_ug/*.info* ${PREFIX}/info/
- ${INSTALL_DATA} ${WRKSRC}/docs/gtkada_ug/*.html ${PREFIX}/share/doc/gtkada
- ${INSTALL_DATA} ${WRKSRC}/docs/gtkada_ug/*.ps ${PREFIX}/share/doc/gtkada
-.endif
+ ${LN} -sf ${PREFIX}/share/doc/GtkAda/*/*.info* ${PREFIX}/info/
.include <bsd.port.mk>