aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2016-02-14 21:50:13 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2016-02-14 21:50:13 +0000
commit3c2f0def7d04c924dd0779f73f7fbdf6c8d53932 (patch)
tree6d4461f3128ed18b4b8db70ec78874c2d65efd41 /x11-toolkits
parentd37990d39c06d67687e37aabd50a4eb43eff59a2 (diff)
downloadports-3c2f0def7d04c924dd0779f73f7fbdf6c8d53932.tar.gz
ports-3c2f0def7d04c924dd0779f73f7fbdf6c8d53932.zip
Notes
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/gai/Makefile25
-rw-r--r--x11-toolkits/gai/pkg-plist6
2 files changed, 16 insertions, 15 deletions
diff --git a/x11-toolkits/gai/Makefile b/x11-toolkits/gai/Makefile
index 88543817d442..00bffb3ce314 100644
--- a/x11-toolkits/gai/Makefile
+++ b/x11-toolkits/gai/Makefile
@@ -10,6 +10,9 @@ MASTER_SITES= SF/${PORTNAME}/GAI%20-%20Library/${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= General Applet Interface Library
+LICENSE= LGPL20+
+LICENSE_FILE= ${WRKSRC}/COPYING.LIB
+
LIB_DEPENDS= libgtkglext-x11-1.0.so:${PORTSDIR}/x11-toolkits/gtkglext
USES= gettext-tools pkgconfig tar:bzip2
@@ -21,28 +24,20 @@ CONFIGURE_ENV= SDLCONF=${SDL_CONFIG}
CONFIGURE_ARGS= --disable-gnome
CPPFLAGS+= `pkg-config --cflags libgnomeui-2.0`
-PLIST_FILES= include/gai/gai.h lib/libgai.so.${PORTVERSION} \
- lib/libgai.so.0 lib/libgai.so libdata/pkgconfig/gai.pc \
- share/locale/de/LC_MESSAGES/gai.mo
PORTDOCS= *
+PORTEXAMPLES= *
USE_LDCONFIG= yes
-OPTIONS_DEFINE= DOCS
+OPTIONS_DEFINE= DOCS EXAMPLES
post-patch:
@${REINPLACE_CMD} -e "s|sdl-config --|${SDL_CONFIG} --|g; \
s|/usr/X11R6|${LOCALBASE}|g" ${WRKSRC}/configure
-post-install:
- cd ${WRKSRC}/docs && \
- ${FIND} * -type d -exec ${MKDIR} "${STAGEDIR}${DOCSDIR}/{}" \; && \
- ${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${STAGEDIR}${DOCSDIR}/{}" \;
-.for dir in docking examples templates
- cd ${WRKSRC} && \
- ${FIND} ${dir} -type d -exec ${MKDIR} "${STAGEDIR}${EXAMPLESDIR}/{}" \; && \
- ${FIND} ${dir} -type f -exec ${INSTALL_DATA} "{}" "${STAGEDIR}${EXAMPLESDIR}/{}" \;
-.endfor
- @${FIND} ${STAGEDIR}${EXAMPLESDIR} -type f | \
- ${SED} "s,^${STAGEDIR}${PREFIX}/,," >> ${TMPPLIST}
+post-install-DOCS-on:
+ cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
+
+post-install-EXAMPLES-on:
+ cd ${WRKSRC} && ${COPYTREE_SHARE} "docking examples templates" ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>
diff --git a/x11-toolkits/gai/pkg-plist b/x11-toolkits/gai/pkg-plist
new file mode 100644
index 000000000000..51528ac61b82
--- /dev/null
+++ b/x11-toolkits/gai/pkg-plist
@@ -0,0 +1,6 @@
+include/gai/gai.h
+lib/libgai.so
+lib/libgai.so.0
+lib/libgai.so.0.5.10
+libdata/pkgconfig/gai.pc
+share/locale/de/LC_MESSAGES/gai.mo