freebsd-ports/archivers/libcomprex/Makefile
Alex Kozlov 83f02b963c - Convert USE_GETTEXT to USES (part 4)
Approved by:	portmgr (bapt)
2013-04-26 10:44:28 +00:00

38 lines
757 B
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= libcomprex
PORTVERSION= 0.3.3
PORTREVISION= 8
CATEGORIES= archivers
MASTER_SITES= SF/gnupdate/${PORTNAME}/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Transparently handles automatic compression and decompression of files
LICENSE= LGPL21
#LIB_DEPENDS= curl.3:${PORTSDIR}/ftp/curl
OPTIONS_DEFINE= NLS
USE_AUTOTOOLS= libtool
USES= pathfix pkgconfig
USE_LDCONFIG= yes
MAKE_JOBS_SAFE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
USES+= gettext
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -lintl
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.endif
.include <bsd.port.pre.mk>
.include "Makefile.man"
.include <bsd.port.post.mk>