2001-02-13 03:16:31 +00:00
|
|
|
# New ports collection makefile for: xmps-win32-plugin
|
|
|
|
# Date created: 03 Feb 20001
|
|
|
|
# Whom: Mario S F Ferreira <lioux@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= xmps-win32-plugin
|
|
|
|
PORTVERSION= 0.0.4
|
|
|
|
CATEGORIES= graphics
|
|
|
|
MASTER_SITES= http://xmps.sourceforge.net/sources/
|
|
|
|
|
|
|
|
MAINTAINER= lioux@FreeBSD.org
|
|
|
|
|
|
|
|
LIB_DEPENDS= xmps.0:${PORTSDIR}/graphics/xmps \
|
2002-03-15 19:44:29 +00:00
|
|
|
intl.1:${PORTSDIR}/devel/gettext-old
|
2001-02-13 03:16:31 +00:00
|
|
|
RUN_DEPENDS= ${CODEC_DETECTION_FILE}:${CODEC_PORT}
|
|
|
|
|
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_LIBTOOL= yes
|
|
|
|
USE_GTK= yes
|
|
|
|
USE_X_PREFIX= yes
|
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
PLIST_SUB= LIB_VERSION="${LIB_VERSION}"
|
|
|
|
|
2001-02-13 05:15:43 +00:00
|
|
|
#CODEC_PORT= ${PORTSDIR}/graphics/win32-codecs
|
|
|
|
CODEC_PORT= ${.CURDIR}/../win32-codecs
|
|
|
|
CODEC_DETECTION_FILE!= ${MAKE} -f ${CODEC_PORT}/Makefile -V CODEC_DETECTION_FILE
|
2001-02-14 04:12:50 +00:00
|
|
|
LIB_VERSION= 0
|
2001-02-13 03:16:31 +00:00
|
|
|
|
|
|
|
post-patch:
|
2001-12-24 01:17:20 +00:00
|
|
|
@${PERL} -pi -e "s|/usr/lib/win32|${LOCALBASE}/lib/win32|" \
|
|
|
|
${WRKSRC}/src/win32_codec.c
|
|
|
|
@${PERL} -pi -e 's|<malloc.h>|<stdlib.h>|' ${WRKSRC}/src/*
|
2001-02-13 03:16:31 +00:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${LN} -sf libwin32.so ${PREFIX}/lib/xmps/codecs/video/libwin32.so.${LIB_VERSION}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|