- Update to 0.2.6 [1]
- Add WITHOUT_NLS knob - Mark as BROKEN on 4.x, doesn't build PR: ports/84222 [1] Submitted by: Marcus von Appen <mva@sysfault.org> [1]
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= pslib
|
||||
PORTVERSION= 0.2.5
|
||||
PORTVERSION= 0.2.6
|
||||
CATEGORIES= print
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
@@ -19,10 +19,29 @@ LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
|
||||
png.5:${PORTSDIR}/graphics/png
|
||||
|
||||
USE_GNOME= gnomehack gnometarget intlhack pkgconfig
|
||||
USE_GETTEXT= yes
|
||||
USE_REINPLACE= yes
|
||||
USE_LIBTOOL_VER= 15
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib"
|
||||
INSTALLS_SHLIB= yes
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.if !defined(WITHOUT_NLS)
|
||||
USE_GETTEXT= yes
|
||||
PLIST_SUB= GETTEXT=""
|
||||
.else
|
||||
PLIST_SUB= GETTEXT="@comment "
|
||||
.endif
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if (${OSVERSION} < 500000)
|
||||
BROKEN= Doesn't build on < 5.x
|
||||
.endif
|
||||
|
||||
post-configure:
|
||||
.if defined(WITHOUT_NLS)
|
||||
@${REINPLACE_CMD} -E 's|(SUBDIRS = data include src) po|\1|' \
|
||||
${WRKSRC}/Makefile
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
MD5 (pslib-0.2.5.tar.gz) = 12cf52461658fe32524975896771b66d
|
||||
SIZE (pslib-0.2.5.tar.gz) = 477049
|
||||
MD5 (pslib-0.2.6.tar.gz) = 6727e5086c7e6795e7b0db6f49442a2e
|
||||
SIZE (pslib-0.2.6.tar.gz) = 486812
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
@comment $FreeBSD$
|
||||
include/libps/pslib-mp.h
|
||||
include/libps/pslib.h
|
||||
include/libps/psversion.h
|
||||
@@ -5,7 +6,8 @@ lib/libps.a
|
||||
lib/libps.so
|
||||
lib/libps.so.2
|
||||
libdata/pkgconfig/libps.pc
|
||||
share/locale/de/LC_MESSAGES/pslib.mo
|
||||
%%GETTEXT%%share/locale/de/LC_MESSAGES/pslib.mo
|
||||
%%GETTEXT%%@unexec rmdir %D/share/locale/de/LC_MESSAGES 2>/dev/null || true
|
||||
%%DATADIR%%/draft.ps
|
||||
%%DATADIR%%/exectime.ps
|
||||
%%DATADIR%%/grid.ps
|
||||
|
||||
Reference in New Issue
Block a user