1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/sysutils/unieject/Makefile
Marcus von Appen 95e7081976 - Convert USE_ICONV=yes to USES=iconv
- Change USE_GNOME=pkgconfig|gnomehack to USES=pathfix|pkgconfig and
  USE_GETTEXT=yes to USES=gettext while here
2013-04-27 18:25:24 +00:00

44 lines
979 B
Makefile

# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
# $FreeBSD$
PORTNAME= unieject
PORTVERSION= 6
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Eject(1) replacement
LICENSE= GPLv2
LIB_DEPENDS= confuse:${PORTSDIR}/devel/libconfuse \
pcre:${PORTSDIR}/devel/pcre \
cdio:${PORTSDIR}/sysutils/libcdio
USE_BZIP2= yes
USES= pathfix pkgconfig gettext iconv
USE_GNOME= glib20
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-silent-rules \
--disable-doc
USE_LDCONFIG= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
MAN1= unieject.1
MAN5= unieject.conf.5
post-patch:
@${REINPLACE_CMD} -e \
'/-D_POSIX_C_SOURCE/s|^CPPFLAGS|#CPPFLAGS|' ${WRKSRC}/configure
@${REINPLACE_CMD} -e \
'/^install-data-am:/s|install-dist_docDATA|| ; \
/^install-data-am:/s|install-dist_htmlDATA||' ${WRKSRC}/Makefile.in
post-install:
${INSTALL_DATA} ${WRKSRC}/unieject.conf.sample ${PREFIX}/etc
.include <bsd.port.mk>