2001-11-21 18:03:45 +00:00
|
|
|
# ex:ts=8
|
|
|
|
# New ports collection makefile for: libcomprex
|
|
|
|
# Date created: Nov 22, 2001
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= libcomprex
|
2003-10-28 21:19:59 +00:00
|
|
|
PORTVERSION= 0.3.3
|
2004-06-23 09:23:16 +00:00
|
|
|
PORTREVISION= 4
|
2001-11-21 18:03:45 +00:00
|
|
|
CATEGORIES= archivers
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= gnupdate
|
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 17:07:10 +00:00
|
|
|
COMMENT= Transparently handles automatic compression and decompression of files
|
2001-11-21 18:03:45 +00:00
|
|
|
|
2004-06-23 09:23:16 +00:00
|
|
|
#LIB_DEPENDS= curl.3:${PORTSDIR}/ftp/curl
|
2004-06-04 17:29:38 +00:00
|
|
|
|
2003-10-26 21:58:50 +00:00
|
|
|
.if !exists(/usr/bin/bzip2)
|
2001-11-23 17:30:56 +00:00
|
|
|
LIB_DEPENDS+= bz2.1:${PORTSDIR}/archivers/bzip2
|
|
|
|
.endif
|
2001-11-21 18:03:45 +00:00
|
|
|
|
2004-06-04 17:29:38 +00:00
|
|
|
USE_LIBLTDL= yes
|
2003-10-28 21:19:59 +00:00
|
|
|
USE_GNOME= gnomehack gnometarget pkgconfig
|
2004-03-14 06:17:56 +00:00
|
|
|
USE_LIBTOOL_VER= 13
|
2003-10-28 21:19:59 +00:00
|
|
|
LIBTOOLFLAGS= # none
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib -lintl"
|
2001-11-21 18:03:45 +00:00
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
|
2004-03-25 12:16:56 +00:00
|
|
|
.if !defined(WITHOUT_NLS)
|
|
|
|
USE_GETTEXT= yes
|
|
|
|
PLIST_SUB+= NLS=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-nls
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
.endif
|
|
|
|
|
2003-10-28 21:19:59 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
2003-02-02 12:59:04 +00:00
|
|
|
.include "Makefile.man"
|
2003-10-28 21:19:59 +00:00
|
|
|
.include <bsd.port.post.mk>
|