1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/multimedia/k9copy/Makefile

39 lines
1011 B
Makefile

# New ports collection makefile for: k9copy
# Date created: 19 Dec 2005
# Whom: Alexander V. Ribchansky <triosoft@triosoft.com.ua>
#
# $FreeBSD$
PORTNAME= k9copy
PORTVERSION= 1.0.4
PORTREVISION= 8
CATEGORIES= multimedia kde
MASTER_SITES= SF
MAINTAINER= triosoft@triosoft.com.ua
COMMENT= A DVD-9 to DVD-5 shrinking application for KDE
LIB_DEPENDS= dvdread.4:${PORTSDIR}/multimedia/libdvdread
RUN_DEPENDS= growisofs:${PORTSDIR}/sysutils/dvd+rw-tools \
dvdauthor:${PORTSDIR}/multimedia/dvdauthor \
vamps:${PORTSDIR}/multimedia/vamps
USE_KDELIBS_VER=3
USE_GMAKE= yes
USE_AUTOTOOLS= libtool
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_LDCONFIG= yes
post-patch:
@${REINPLACE_CMD} -e 's,-O2,,g ; \
s,-lpthread,${PTHREAD_LIBS},g' ${WRKSRC}/${CONFIGURE_SCRIPT}
@${REINPLACE_CMD} -e \
's,$$(LIB_KDEUI),$$(LIB_KDEUI) $$(LIBPTHREAD) -lcam,g' \
${WRKSRC}/src/Makefile.in
@${REINPLACE_CMD} -e \
's,^kde includedir,# kde includedir,' \
${WRKSRC}/libk9copy/Makefile.in
.include <bsd.port.mk>