1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00
freebsd-ports/sysutils/unieject/Makefile
Jason E. Hale c8f8eeb670 Update sysutils/libcdio to 2.1.0
Update sysutils/libcdio-paranoia to 10.2+2.0.1

Bump PORTREVISION on consumers due to shared library version increase
2019-12-12 15:11:33 +00:00

42 lines
991 B
Makefile

# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
# $FreeBSD$
PORTNAME= unieject
PORTVERSION= 6
PORTREVISION= 7
CATEGORIES= sysutils
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Eject(1) replacement
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libconfuse.so:devel/libconfuse \
libpcre.so:devel/pcre \
libcdio.so:sysutils/libcdio
USES= gettext gnome iconv libtool pathfix pkgconfig tar:bzip2
USE_GNOME= glib20
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-doc
USE_LDCONFIG= yes
LLD_UNSAFE= yes
INSTALL_TARGET= install-strip
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
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 ${STAGEDIR}${PREFIX}/etc
.include <bsd.port.mk>