1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-30 10:38:37 +00:00
freebsd-ports/sysutils/unieject/Makefile
Muhammad Moinur Rahman d124850a34
sysutils/unieject: Moved man to share/man
Approved by:    portmgr (blanket)
2024-02-26 08:31:51 +01:00

41 lines
1017 B
Makefile

PORTNAME= unieject
PORTVERSION= 6
PORTREVISION= 8
CATEGORIES= sysutils
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Eject(1) replacement
WWW= http://flameeyes.is-a-geek.org/projects #unieject
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
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
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>