162e7e23a5
PR: 92536 Submitted by: triosoft@triosoft.com.ua (maintainer)
42 lines
1.1 KiB
Makefile
42 lines
1.1 KiB
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.3
|
|
CATEGORIES= multimedia kde
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= triosoft@triosoft.com.ua
|
|
COMMENT= A DVD-9 to DVD-5 shrinking application for KDE
|
|
|
|
LIB_DEPENDS= dvdread.3:${PORTSDIR}/multimedia/libdvdread
|
|
RUN_DEPENDS= growisofs:${PORTSDIR}/sysutils/dvd+rw-tools \
|
|
dvdauthor:${PORTSDIR}/multimedia/dvdauthor \
|
|
vamps:${PORTSDIR}/multimedia/vamps
|
|
|
|
USE_KDELIBS_VER=3
|
|
USE_REINPLACE= yes
|
|
USE_GMAKE= yes
|
|
GNU_CONFIGURE= yes
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
INSTALLS_SHLIB= yes
|
|
DOCSDIR= ${PREFIX}/share/doc/HTML/en/k9copy
|
|
|
|
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
|
|
|
|
post-configure:
|
|
.if defined(NOPORTDOCS)
|
|
@${REINPLACE_CMD} -e 's|doc libk3bdevice libk9copy po src|libk3bdevice libk9copy po src|g' ${WRKSRC}/Makefile
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|