2006-07-23 14:19:52 +00:00
|
|
|
# New ports collection makefile for: unieject
|
|
|
|
# Date created: 23 July 2006
|
|
|
|
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= unieject
|
|
|
|
DISTVERSION= 5.3.2
|
2008-06-06 14:17:21 +00:00
|
|
|
PORTREVISION= 3
|
2006-07-23 14:19:52 +00:00
|
|
|
CATEGORIES= sysutils
|
2006-07-30 22:46:04 +00:00
|
|
|
MASTER_SITES= SF BERLIOS
|
2006-07-23 14:19:52 +00:00
|
|
|
|
2008-09-07 00:19:05 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2006-07-23 14:19:52 +00:00
|
|
|
COMMENT= Eject(1) replacement
|
|
|
|
|
2008-04-08 09:38:57 +00:00
|
|
|
LIB_DEPENDS= cdio.8:${PORTSDIR}/sysutils/libcdio \
|
2006-07-23 14:19:52 +00:00
|
|
|
confuse.0:${PORTSDIR}/devel/libconfuse \
|
|
|
|
popt.0:${PORTSDIR}/devel/popt
|
|
|
|
|
|
|
|
USE_LDCONFIG= yes
|
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_GETTEXT= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
MAN1= unieject.1
|
|
|
|
MAN5= unieject.conf.5
|
|
|
|
|
2006-10-13 16:50:51 +00:00
|
|
|
CPPFLAGS= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS= -L${LOCALBASE}/lib -lcdio -lconfuse
|
|
|
|
CONFIGURE_ENV= PKG_CONFIG="${TRUE}" CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
2006-07-23 14:19:52 +00:00
|
|
|
CONFIGURE_ARGS= --with-libintl-prefix=${LOCALBASE} \
|
2007-07-23 09:36:51 +00:00
|
|
|
--with-libpopt-prefix=${LOCALBASE}
|
2006-07-23 14:19:52 +00:00
|
|
|
|
|
|
|
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>
|