090059a210
The affected ports are the ones with gettext as a run-dependency according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT in Makefile (29 of them). PR: ports/124340 Submitted by: edwin@ Approved by: portmgr (pav)
43 lines
1.2 KiB
Makefile
43 lines
1.2 KiB
Makefile
# New ports collection makefile for: unieject
|
|
# Date created: 23 July 2006
|
|
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= unieject
|
|
DISTVERSION= 5.3.2
|
|
PORTREVISION= 3
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= SF BERLIOS
|
|
|
|
MAINTAINER= infofarmer@FreeBSD.org
|
|
COMMENT= Eject(1) replacement
|
|
|
|
LIB_DEPENDS= cdio.8:${PORTSDIR}/sysutils/libcdio \
|
|
confuse.0:${PORTSDIR}/devel/libconfuse \
|
|
popt.0:${PORTSDIR}/devel/popt
|
|
|
|
USE_LDCONFIG= yes
|
|
USE_BZIP2= yes
|
|
USE_GETTEXT= yes
|
|
USE_GCC= 3.4+
|
|
GNU_CONFIGURE= yes
|
|
MAN1= unieject.1
|
|
MAN5= unieject.conf.5
|
|
|
|
CPPFLAGS= -I${LOCALBASE}/include
|
|
LDFLAGS= -L${LOCALBASE}/lib -lcdio -lconfuse
|
|
CONFIGURE_ENV= PKG_CONFIG="${TRUE}" CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
|
CONFIGURE_ARGS= --with-libintl-prefix=${LOCALBASE} \
|
|
--with-libpopt-prefix=${LOCALBASE}
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's#if.*<<<$$DOXYFORMATS#if false#' ${WRKSRC}/configure
|
|
${REINPLACE_CMD} -e 's#$$(libdir)/pkgconfig#${PREFIX}/libdata/pkgconfig#' ${WRKSRC}/Makefile.in
|
|
${REINPLACE_CMD} -Ee 's#install-htmlDATA (install-man)#\1#' ${WRKSRC}/manpages/Makefile.in
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/unieject.conf.sample ${PREFIX}/etc/
|
|
|
|
.include <bsd.port.mk>
|