mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-12 03:00:28 +00:00
52c5d58921
- Bump PORTREVISION Approved by: portmgr (xorg cleanup)
86 lines
1.8 KiB
Makefile
86 lines
1.8 KiB
Makefile
# New ports collection makefile for: emelfm2
|
|
# Date created: 01 Novemeber 2003
|
|
# Whom: Marcus von Appen
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= emelfm2
|
|
PORTVERSION= 0.3.5
|
|
PORTREVISION= 1
|
|
CATEGORIES= x11-fm
|
|
MASTER_SITES= http://emelfm2.net/rel/
|
|
|
|
MAINTAINER= mva@sysfault.org
|
|
COMMENT= The gtk2 port of emelfm, a fast graphical filemanager
|
|
|
|
USE_GNOME= gtk20
|
|
USE_GMAKE= yes
|
|
USE_LDCONFIG= yes
|
|
INSTALL_TARGET= install
|
|
|
|
CFLAGS+= ${PTHREAD_CFLAGS}
|
|
LDFLAGS+= ${PTHREAD_LIBS}
|
|
MAKE_ENV= CC=${CC} LDFLAGS="${LDFLAGS}" DOC_DIR="${DOCSDIR}/"
|
|
MAN1= emelfm2.1
|
|
|
|
OPTIONS= DEBUG "Enable debugging messages" off \
|
|
GAMIN "Enable Gamin for file monitoring" off \
|
|
FAM "Enable FAM for file monitoring" off \
|
|
THUMB "Enable the thumbnail plugin" off \
|
|
TRACKER "Enable the tracker plugin" off \
|
|
NLS "Enable gettext support" on
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if defined(WITH_DEBUG)
|
|
MAK_ENV+= DEBUG=1
|
|
.endif
|
|
|
|
.if defined(WITH_GAMIN) && defined(WITH_FAM)
|
|
BROKEN= WITH_GAMIN and WITH_FAM cannot be enabled at the same time for this port
|
|
.endif
|
|
|
|
.if defined(WITH_GAMIN)
|
|
USE_FAM= yes
|
|
WANT_FAM_SYSTEM=gamin
|
|
MAKE_ENV+= USE_GAMIN=1
|
|
.endif
|
|
|
|
.if defined(WITH_FAM)
|
|
USE_FAM= yes
|
|
WANT_FAM_SYSTEM=fam
|
|
MAKE_ENV+= USE_FAM=1
|
|
.endif
|
|
|
|
.if defined(WITH_THUMB)
|
|
LIB_DEPENDS+= gimp:${PORTSDIR}/graphics/gimp
|
|
MAKE_ENV+= WITH_THUMB=1
|
|
PLIST_SUB+= THUMB=""
|
|
.else
|
|
PLIST_SUB+= THUMB="@comment "
|
|
.endif
|
|
|
|
.if defined(WITH_TRACKER)
|
|
MAKE_ENV+= WITH_TRACKER=1
|
|
PLIST_SUB+= TRACKER=""
|
|
.else
|
|
PLIST_SUB+= TRACKER="@comment "
|
|
.endif
|
|
|
|
.if !defined(WITHOUT_NLS)
|
|
USE_GETTEXT= yes
|
|
INSTALL_TARGET+=install_i18n
|
|
PLIST_SUB+= NLS=""
|
|
.else
|
|
PLIST_SUB+= NLS="@comment "
|
|
.endif
|
|
|
|
.if ${OSVERSION} < 600000
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|blksize_t buf_size =|__int32_t buf_size =|g' \
|
|
${WRKSRC}/src/filesystem/e2_fs.c
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|