mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
d72c560b21
Hat: portmgr
43 lines
1.1 KiB
Makefile
43 lines
1.1 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= ports@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
|
|
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>
|