freebsd-ports/graphics/digikam-kde4/Makefile
Rong-En Fan f935a609c5 - Set --mandir and --infodir in CONFIGURE_ARGS if the configure script
supports them.  This is determined by running ``configure --help'' in
  do-configure target and set the shell variable _LATE_CONFIGURE_ARGS
  which is then passed to CONFIGURE_ARGS.
- Remove --mandir and --infodir in ports' Makefile where applicable
  Few ports use REINPLACE_CMD to achieve the same effect, remove them too.
- Correct some manual pages location from PREFIX/man to MANPREFIX/man
- Define INFO_PATH where necessary
- Document that .info files are installed in a subdirectory relative to
  PREFIX/INFO_PATH and slightly change add-plist-info to use INFO_PATH and
  subdirectory detection.

PR:		ports/111470
Approved by:	portmgr
Discussed with:	stas (Mk/*), gerald (info related stuffs)
Tested by:	pointyhat exp run
2007-07-23 09:36:51 +00:00

44 lines
1.3 KiB
Makefile

# New ports collection makefile for: digikam
# Date created: 3 February 2003
# Whom: Arjan van Leeuwen <avleeuwen@piwebs.com>
#
# $FreeBSD$
#
PORTNAME= digikam
DISTVERSION= 0.9.2
CATEGORIES= graphics kde
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ale@FreeBSD.org
COMMENT= Photo album manager for KDE with gphoto2 backend
LIB_DEPENDS= tiff.4:${PORTSDIR}/graphics/tiff \
kipi.1:${PORTSDIR}/graphics/libkipi \
gphoto2.2:${PORTSDIR}/graphics/libgphoto2 \
kexiv2.2:${PORTSDIR}/graphics/libkexiv2 \
lcms.1:${PORTSDIR}/graphics/lcms \
kdcraw.1:${PORTSDIR}/graphics/libkdcraw \
png.5:${PORTSDIR}/graphics/png \
sqlite3.8:${PORTSDIR}/databases/sqlite3 \
jasper.4:${PORTSDIR}/graphics/jasper
USE_BZIP2= yes
USE_AUTOTOOLS= libtool:15
USE_GMAKE= yes
USE_KDELIBS_VER=3
USE_GETTEXT= yes
USE_LDCONFIG= yes
INSTALLS_ICONS= yes
MAN1= digitaglinktree.1
post-patch:
@${REINPLACE_CMD} -e 's|-O2||g;s|-fno-schedule-insns -fno-inline||g' \
${WRKSRC}/${CONFIGURE_SCRIPT}
@${REINPLACE_CMD} -e 's@-lpthread@${PTHREAD_LIBS}@g' ${WRKSRC}/${CONFIGURE_SCRIPT}
@${REINPLACE_CMD} 's/install-data-local: install-apidox/install-data-local:/' \
${WRKSRC}/digikam/Makefile.in ${WRKSRC}/digikam/digikam/Makefile.in
.include <bsd.port.mk>