freebsd-ports/sysutils/unieject/Makefile
Jason E. Hale 656577b723 Update sysutils/libcdio to 2.0.0
- Add regression tests

Update multimedia/vcdimager to 2.0.1
- Previous version is incompatible with new libcdio API; update was neccesary
- Add regression tests
- Fix LICENSE
- Sort pkg-plist
- Update WWW in pkg-descr

Bump PORTREVISON on dependent ports due to libcdio shared libary increase

Changes (libcdio):	http://git.savannah.gnu.org/cgit/libcdio.git/plain/NEWS?h=release-2.0.0
Changes (vcdimager):	https://github.com/rocky/vcdimager/blob/3b56705/NEWS
Differential Revision:	https://reviews.freebsd.org/D14469
2018-04-05 20:13:33 +00:00

41 lines
985 B
Makefile

# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
# $FreeBSD$
PORTNAME= unieject
PORTVERSION= 6
PORTREVISION= 6
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= tar:bzip2 pathfix pkgconfig gettext iconv libtool
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>