diff options
Diffstat (limited to 'freebsd/dependencies/libart-lgpl/Makefile')
-rw-r--r-- | freebsd/dependencies/libart-lgpl/Makefile | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/freebsd/dependencies/libart-lgpl/Makefile b/freebsd/dependencies/libart-lgpl/Makefile new file mode 100644 index 000000000..4f58f20fa --- /dev/null +++ b/freebsd/dependencies/libart-lgpl/Makefile @@ -0,0 +1,44 @@ +# -*-mode: makefile-*- +# Created by: slavek.banko@axis.cz +# $FreeBSD$ +# + +.include <../../trinity.port.mk> + +PORTNAME= libart_lgpl +COMMENT= Library for high-performance 2D graphics +TDE_PREVERSION= ~pre0+634771a9 +MASTER_SITE_SUBDIR= liba/libart-lgpl +DISTNAME= libart-lgpl_${TDE_VERSION}${TDE_PREVERSION:C/(~(pre|r|s)[0-9]*).*/\1/1} +DISTSRC= libart-lgpl-trinity-${TDE_VERSION}${TDE_PREVERSION} +PORTREVISION= 0 +PORTEPOCH= 1 +CATEGORIES= graphics +DIST_SUBDIR= TDE/dependencies +PREFIX= ${LOCALBASE} + + +BUILD_DEPENDS= automake:${PORTSDIR}/devel/automake + + +USES= libtool pathfix +USE_LDCONFIG= yes +GNU_CONFIGURE= yes +MAKE_JOBS_UNSAFE= yes + +CONFLICTS= libart-[0-9]* + +do-configure: + mkdir "${WRKSRC}/.build" + cd "${WRKSRC}/.build" && ${WRKSRC}/configure + +do-build: + ${MAKE_CMD} -C "${WRKSRC}/.build" + +do-install: + ${MAKE_CMD} -C "${WRKSRC}/.build" DESTDIR=${STAGEDIR} install + +post-stage: + ${LN} -s libart_lgpl_2.so.2 ${STAGEDIR}${PREFIX}/lib/libart_lgpl_2.so.5 + +.include <bsd.port.mk> |