bcd34f18be
Avoid installing useless .la files. [*] Update MASTER_SITES and DISTFILES. PR: 34384 Submitted by: KATO Tsuguru <tkato@prontomail.com> [*] Approved by: maintainer
42 lines
1.0 KiB
Makefile
42 lines
1.0 KiB
Makefile
# New ports collection makefile for: xine_d4d_plugin
|
|
# Date created: 28 Aug 2001
|
|
# Whom: HIYAMA Takeshi <gibbon@cocoa.freemail.ne.jp>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= xine_d4d_plugin
|
|
PORTVERSION= 0.3.0
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= http://worldzone.net/technology/captaincss/ \
|
|
http://debianlinux.net/
|
|
DISTFILES= d4d030.txt
|
|
|
|
MAINTAINER= gibbon@cocoa.freemail.ne.jp
|
|
|
|
LIB_DEPENDS= xine.0:${PORTSDIR}/graphics/libxine
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_X_PREFIX= yes
|
|
CONFIGURE_ENV= THREAD_CFLAGS="${PTHREAD_CFLAGS}" \
|
|
THREAD_LIBS="${PTHREAD_LIBS}"
|
|
INSTALLS_SHLIB= yes
|
|
|
|
do-extract:
|
|
(${MKDIR} ${WRKDIR}; \
|
|
cd ${WRKDIR}; \
|
|
${SH} ${DISTDIR}/${DISTFILES}; \
|
|
${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} ${EXTRACT_AFTER_ARGS})
|
|
|
|
post-patch:
|
|
@${PERL} -pi -e \
|
|
's|THREAD_LIBS=.*$$|THREAD_LIBS="\$$THREAD_LIBS"|g ; \
|
|
s|THREAD_CFLAGS=.*$$|THREAD_CFLAGS="\$$THREAD_CFLAGS"|g ; \
|
|
s|-L/usr/local/lib||g ; \
|
|
s|-I/usr/local/include||g' ${WRKSRC}/configure
|
|
|
|
post-install:
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|