mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-03 06:04:53 +00:00
45 lines
1.1 KiB
Makefile
45 lines
1.1 KiB
Makefile
# New ports collection makefile for: gpac-libm4systems
|
|
# Date created: 2005-05-04
|
|
# Whom: Michael Johnson <ahze@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= gpac-libgpac
|
|
DISTVERSION= 0.4.4
|
|
PORTEPOCH= 1
|
|
CATEGORIES= multimedia
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= gpac
|
|
DISTNAME= gpac-${DISTVERSION}
|
|
|
|
MAINTAINER= multimedia@FreeBSD.org
|
|
COMMENT= Gpac MPEG-4 Systems library and headers
|
|
|
|
WRKSRC= ${WRKDIR}/gpac
|
|
ALL_TARGET= lib
|
|
USE_GMAKE= yes
|
|
HAS_CONFIGURE= yes
|
|
USE_LDCONFIG= yes
|
|
|
|
BUILD_WRKSRC= ${WRKSRC}/src
|
|
INSTALL_WRKSRC= ${WRKSRC}/bin/gcc
|
|
LIBVER= 1
|
|
|
|
CONFIGURE_ARGS= --cc="${CC}" \
|
|
--extra-cflags="${CFLAGS} ${PTHREAD_CFLAGS} -fPIC" \
|
|
--extra-ldflags="${LDFLAGS} ${PTHREAD_LIBS}"
|
|
|
|
post-patch:
|
|
${CHMOD} +x ${WRKSRC}/configure
|
|
|
|
do-install:
|
|
${MKDIR} ${PREFIX}/include/gpac
|
|
cd ${WRKSRC}/include/gpac && ${FIND} . | \
|
|
${CPIO} -vpdm -L -R ${LIBOWN}:${LIBGRP} ${PREFIX}/include/gpac
|
|
${INSTALL_DATA} ${INSTALL_WRKSRC}/libgpac.so.${LIBVER} ${PREFIX}/lib
|
|
${LN} -sf libgpac.so.${LIBVER} ${PREFIX}/lib/libgpac.so
|
|
${INSTALL_DATA} ${INSTALL_WRKSRC}/libgpac_static.a ${PREFIX}/lib
|
|
|
|
.include <bsd.port.mk>
|