openbsd-ports/sysutils/krename/Makefile
jasper a7798bf227 - fix WANTLIB
- newstyle spacing
- add the PDF handbook in various languages

from vadim zhukov (MAINTAINER)
2011-01-11 10:29:20 +00:00

67 lines
1.6 KiB
Makefile

# $OpenBSD: Makefile,v 1.11 2011/01/11 10:29:20 jasper Exp $
SHARED_ONLY = Yes
COMMENT = powerful KDE batch file renamer
DISTNAME = krename-3.0.14
REVISION = 5
SRCFILES = ${DISTNAME}.tar.bz2
DOCFILES = krename-3.0.12.pdf \
krename-3.0.3-de.pdf \
krename-3.0.3-fr.pdf \
krename-3.0.3-ru.pdf
DISTFILES = ${SRCFILES} ${DOCFILES}
EXTRACT_ONLY = ${SRCFILES}
CATEGORIES = sysutils x11 x11/kde
HOMEPAGE = http://www.krename.net/
MAINTAINER = Vadim Zhukov <persgray@gmail.com>
# GPLv2
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB += GL Xcursor Xdamage Xfixes Xft Xi Xinerama Xmu Xrandr Xt Xxf86vm
WANTLIB += drm expat fontconfig freetype lcms mng ICE SM X11 Xau Xdmcp Xext
WANTLIB += Xrender c jpeg m png pthread pthread-stubs stdc++ util xcb z
WANTLIB += art_lgpl_2>=5 idn>=16.30 DCOP>=7 kdecore kdefx kdesu kdeui kio
WANTLIB += kparts kwalletclient
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=krename/}
MODULES = x11/kde devel/gettext
RUN_DEPENDS = devel/desktop-file-utils \
x11/kde/base3
LIB_DEPENDS = graphics/libart \
devel/libidn>=1.1 \
x11/kde/libs3
USE_GMAKE = Yes
USE_LIBTOOL = Yes
LIBTOOL_FLAGS = --tag=disable-static
AUTOCONF_VERSION = 2.60
CONFIGURE_STYLE = autoconf
CONFIGURE_ENV = ${MODKDE_CONFIGURE_ENV}
CONFIGURE_ARGS = ${MODKDE_CONFIGURE_ARGS} \
--enable-libsuffix=""
PORTHOME = ${WRKDIR}
pre-configure:
${SUBST_CMD} ${WRKSRC}/doc/en/HTML/index.html
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/krename
${INSTALL_DATA} ${DOCFILES:S@^@${DISTDIR}/@} ${PREFIX}/share/doc/krename
.include <bsd.port.mk>