1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00
freebsd-ports/multimedia/xmps-win32-plugin/Makefile
Mario Sergio Fujikawa Ferreira 7511b6969c Drop maintainership
2005-03-12 23:26:40 +00:00

45 lines
1.1 KiB
Makefile

# 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
PORTREVISION= 4
CATEGORIES= multimedia
MASTER_SITES= http://ftp.vin.bg.ac.yu/linux/mmedia/xmps/
MAINTAINER= ports@FreeBSD.org
COMMENT= xmps plugin for Win32 (TM) Codecs
LIB_DEPENDS= xmps.0:${PORTSDIR}/multimedia/xmps
RUN_DEPENDS= ${CODEC_DETECTION_FILE}:${CODEC_PORT}
BROKEN= Incomplete pkg-plist
USE_GETTEXT= yes
USE_GMAKE= yes
USE_LIBTOOL_VER=13
USE_GNOME= gtk12
USE_REINPLACE= yes
USE_X_PREFIX= yes
INSTALLS_SHLIB= yes
PLIST_SUB= LIB_VERSION="${LIB_VERSION}"
#CODEC_PORT= ${PORTSDIR}/multimedia/win32-codecs
CODEC_PORT= ${.CURDIR}/../win32-codecs
CODEC_DETECTION_FILE!= ${MAKE} -f ${CODEC_PORT}/Makefile -V CODEC_DETECTION_FILE
LIB_VERSION= 0
post-patch:
@${REINPLACE_CMD} -e "s|/usr/lib/win32|${LOCALBASE}/lib/win32|" \
${WRKSRC}/src/win32_codec.c
@${REINPLACE_CMD} -e 's|<malloc.h>|<stdlib.h>|' ${WRKSRC}/src/*
post-install:
@${LN} -sf libwin32.so ${PREFIX}/lib/xmps/codecs/video/libwin32.so.${LIB_VERSION}
.include <bsd.port.mk>