476f16f680
share/gnome/ -> share/, but not in FreeBSD ports tree yet. While I am here, correct the EXAMPLESDIR in patch that should be fit with plist. Bump the PORTREVISION. Reported by: krismail
44 lines
1.1 KiB
Makefile
44 lines
1.1 KiB
Makefile
# New ports collection makefile for: pyrenamer
|
|
# Date created: 14 June 2007
|
|
# Whom: Mezz <mezz@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= pyrenamer
|
|
DISTVERSION= 0.4.1
|
|
PORTREVISION= 1
|
|
CATEGORIES= sysutils python gnome
|
|
MASTER_SITES= http://www.infinicode.org/code/${PORTNAME}/
|
|
|
|
MAINTAINER= mezz@FreeBSD.org
|
|
COMMENT= A mass file renamer written in PyGTK
|
|
|
|
BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/eyeD3/__init__.py:${PORTSDIR}/audio/py-eyed3
|
|
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/eyeD3/__init__.py:${PORTSDIR}/audio/py-eyed3
|
|
|
|
USE_GMAKE= yes
|
|
USE_GNOME= gnomehack gnomeprefix gconf2 pygtk2
|
|
USE_PYTHON= yes
|
|
USE_GETTEXT= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
DOCS= AUTHORS COPYING ChangeLog NEWS README
|
|
MAN1= pyrenamer.1
|
|
GCONF_SCHEMAS= pyrenamer.schemas
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|[$$][(]datadir[)]/doc/pyrenamer|${EXAMPLESDIR}|g' \
|
|
${WRKSRC}/doc/Makefile.in
|
|
|
|
.ifndef (NOPORTDOCS)
|
|
post-install:
|
|
@${MKDIR} ${DOCSDIR}
|
|
.for i in ${DOCS}
|
|
@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|