Lines 1-44
Link Here
|
1 |
# New ports collection makefile for: unieject |
1 |
# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org> |
2 |
# Date created: 23 July 2006 |
|
|
3 |
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org> |
4 |
# |
5 |
# $FreeBSD: ports/sysutils/unieject/Makefile,v 1.18 2012/01/29 19:48:09 pav Exp $ |
2 |
# $FreeBSD: ports/sysutils/unieject/Makefile,v 1.18 2012/01/29 19:48:09 pav Exp $ |
6 |
# |
|
|
7 |
|
3 |
|
8 |
PORTNAME= unieject |
4 |
PORTNAME= unieject |
9 |
DISTVERSION= 5.3.2 |
5 |
PORTVERSION= 6 |
10 |
PORTREVISION= 6 |
|
|
11 |
CATEGORIES= sysutils |
6 |
CATEGORIES= sysutils |
12 |
MASTER_SITES= SF BERLIOS |
7 |
MASTER_SITES= SF |
13 |
|
8 |
|
14 |
MAINTAINER= ports@FreeBSD.org |
9 |
MAINTAINER= ports@FreeBSD.org |
15 |
COMMENT= Eject(1) replacement |
10 |
COMMENT= Eject(1) replacement |
16 |
|
11 |
|
17 |
LIB_DEPENDS= cdio.13:${PORTSDIR}/sysutils/libcdio \ |
12 |
LICENSE= GPLv2 |
18 |
confuse.0:${PORTSDIR}/devel/libconfuse \ |
|
|
19 |
popt.0:${PORTSDIR}/devel/popt |
20 |
|
13 |
|
21 |
BROKEN= does not link |
14 |
LIB_DEPENDS= confuse:${PORTSDIR}/devel/libconfuse \ |
|
|
15 |
cdio:${PORTSDIR}/sysutils/libcdio |
22 |
|
16 |
|
23 |
USE_LDCONFIG= yes |
|
|
24 |
USE_BZIP2= yes |
17 |
USE_BZIP2= yes |
|
|
18 |
USE_GNOME= glib20 gnomehack |
25 |
USE_GETTEXT= yes |
19 |
USE_GETTEXT= yes |
26 |
GNU_CONFIGURE= yes |
20 |
GNU_CONFIGURE= yes |
27 |
MAN1= unieject.1 |
21 |
CONFIGURE_ARGS= --disable-silent-rules \ |
28 |
MAN5= unieject.conf.5 |
22 |
--disable-doc |
|
|
23 |
USE_LDCONFIG= yes |
29 |
|
24 |
|
30 |
CPPFLAGS+= -I${LOCALBASE}/include |
25 |
CPPFLAGS+= -I${LOCALBASE}/include |
31 |
LDFLAGS+= -L${LOCALBASE}/lib -lcdio -lconfuse |
26 |
LDFLAGS+= -L${LOCALBASE}/lib |
32 |
CONFIGURE_ENV= PKG_CONFIG="${TRUE}" |
27 |
|
33 |
CONFIGURE_ARGS= --with-libintl-prefix=${LOCALBASE} \ |
28 |
MAN1= unieject.1 |
34 |
--with-libpopt-prefix=${LOCALBASE} |
29 |
MAN5= unieject.conf.5 |
35 |
|
30 |
|
36 |
post-patch: |
31 |
post-patch: |
37 |
${REINPLACE_CMD} -e 's#if.*<<<$$DOXYFORMATS#if false#' ${WRKSRC}/configure |
32 |
@${REINPLACE_CMD} -e \ |
38 |
${REINPLACE_CMD} -e 's#$$(libdir)/pkgconfig#${PREFIX}/libdata/pkgconfig#' ${WRKSRC}/Makefile.in |
33 |
'/-D_POSIX_C_SOURCE/s|^CPPFLAGS|#CPPFLAGS|' ${WRKSRC}/configure |
39 |
${REINPLACE_CMD} -Ee 's#install-htmlDATA (install-man)#\1#' ${WRKSRC}/manpages/Makefile.in |
34 |
@${REINPLACE_CMD} -e \ |
|
|
35 |
'/^install-data-am:/s|install-dist_docDATA|| ; \ |
36 |
/^install-data-am:/s|install-dist_htmlDATA||' ${WRKSRC}/Makefile.in |
40 |
|
37 |
|
41 |
post-install: |
38 |
post-install: |
42 |
${INSTALL_DATA} ${WRKSRC}/unieject.conf.sample ${PREFIX}/etc/ |
39 |
${INSTALL_DATA} ${WRKSRC}/unieject.conf.sample ${PREFIX}/etc |
43 |
|
40 |
|
44 |
.include <bsd.port.mk> |
41 |
.include <bsd.port.mk> |