diff options
author | edwin <edwin@FreeBSD.org> | 2007-10-04 01:14:50 +0000 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2007-10-04 01:14:50 +0000 |
commit | 7414fe7f0eb5384bcf0deaf5f4587f1c219c904e (patch) | |
tree | a8cab517854b5dc56a09107344f965b0b80bcca3 /graphics | |
parent | 7faae5576ef7a7d0b1ce78e75c07ea81bb83f9d7 (diff) | |
download | FreeBSD-ports-7414fe7f0eb5384bcf0deaf5f4587f1c219c904e.zip FreeBSD-ports-7414fe7f0eb5384bcf0deaf5f4587f1c219c904e.tar.gz |
Remove always-false/true conditions based on OSVERSION 500000
Diffstat (limited to 'graphics')
31 files changed, 23 insertions, 211 deletions
diff --git a/graphics/ale/Makefile b/graphics/ale/Makefile index 00f9b89..dbb639a 100644 --- a/graphics/ale/Makefile +++ b/graphics/ale/Makefile @@ -32,7 +32,7 @@ PLIST_FILES= bin/ale BROKEN= Does not build on alpha .endif -.if ${OSVERSION} >= 500000 && ${OSVERSION} < 600000 +.if ${OSVERSION} < 600000 BROKEN= Does not build on 5.x due to internal gcc error .endif diff --git a/graphics/amanith/Makefile b/graphics/amanith/Makefile index b17a40ac..7bbf241 100644 --- a/graphics/amanith/Makefile +++ b/graphics/amanith/Makefile @@ -40,10 +40,6 @@ WRKSRC= ${WRKDIR}/${PORTNAME} .include <bsd.port.pre.mk> -.if ${OSVERSION} < 500000 -IGNORE= does not build on FreeBSD 4.x -.endif - .if ${OSVERSION} >= 700042 BROKEN= Broken with gcc 4.2 .endif diff --git a/graphics/cairomm/Makefile b/graphics/cairomm/Makefile index 4bb9cce..535bf37 100644 --- a/graphics/cairomm/Makefile +++ b/graphics/cairomm/Makefile @@ -26,12 +26,6 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" \ AUTOMAKE="${TRUE}" AUTOCONF="${TRUE}" DOXYGEN="${TRUE}" -.include <bsd.port.pre.mk> - -.if ${OSVERSION} < 500000 -BROKEN= Does not build -.endif - .if defined(NOPORTDOCS) CONFIGURE_ARGS+= --disable-docs @@ -42,4 +36,4 @@ post-configure: @${TOUCH} -f ${WRKSRC}/docs/reference/html/index.html .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/graphics/corona/Makefile b/graphics/corona/Makefile index e99f10a..1367e6c 100644 --- a/graphics/corona/Makefile +++ b/graphics/corona/Makefile @@ -23,12 +23,6 @@ USE_GNOME= gnometarget lthack GNU_CONFIGURE= yes INSTALLS_SHLIB= yes -.include <bsd.port.pre.mk> - -.if ${OSVERSION} <= 500000 -USE_GCC= 3.4+ -.endif - CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \ LIBS="${LIBS} -L${LOCALBASE}/lib" @@ -37,4 +31,4 @@ post-patch: 's|-Wall||' \ ${WRKSRC}/configure -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/graphics/crystalspace-devel/Makefile b/graphics/crystalspace-devel/Makefile index 18151c4..8cd98f9 100644 --- a/graphics/crystalspace-devel/Makefile +++ b/graphics/crystalspace-devel/Makefile @@ -63,10 +63,6 @@ OPTIONS= DEBUG "Build with debugging information" off \ .include <bsd.port.pre.mk> -.if ${OSVERSION} < 500000 -BROKEN= Does not compile on 4.x -.endif - .if ${ARCH} == "sparc64" BROKEN= Does not compile on sparc64 .endif diff --git a/graphics/dri/Makefile b/graphics/dri/Makefile index 7046f14..2ae09d9 100644 --- a/graphics/dri/Makefile +++ b/graphics/dri/Makefile @@ -60,11 +60,4 @@ do-install: IGNORE= requires libGL from X.Org .endif -.if ${OSVERSION} < 500000 -pre-patch: - @${REINPLACE_CMD} -e 's|stdint.h|sys/types.h|g' \ - ${WRKSRC}/src/mesa/drivers/dri/mga/mga_xmesa.c \ - ${WRKSRC}/src/mesa/drivers/dri/mga/mgacontext.h -.endif - .include <bsd.port.post.mk> diff --git a/graphics/edje/Makefile b/graphics/edje/Makefile index 3c96a4a..a6342bf 100644 --- a/graphics/edje/Makefile +++ b/graphics/edje/Makefile @@ -24,10 +24,6 @@ USE_LDCONFIG= yes .include <bsd.port.pre.mk> -.if ${OSVERSION} < 500000 -IGNORE= does not build on 4.X -.endif - .if ${ARCH} == "ia64" BROKEN= edje is broken on ia64 .endif diff --git a/graphics/exrtools/Makefile b/graphics/exrtools/Makefile index ec57efc..c3eeeff 100644 --- a/graphics/exrtools/Makefile +++ b/graphics/exrtools/Makefile @@ -37,27 +37,10 @@ MAN1= exrblur.1 exrchr.1 exricamtm.1 exrnlm.1 exrnormalize.1 \ exrpptm.1 exrstats.1 exrtools.1 exrtopng.1 jpegtoexr.1 \ pngtoexr.1 ppmtoexr.1 -.include <bsd.port.pre.mk> - post-patch: @${REINPLACE_CMD} -e 's|<values\.h>|<float.h>|' \ ${WRKSRC}/src/exrnormalize.c \ ${WRKSRC}/src/exrpptm.c \ ${WRKSRC}/src/exrstats.c -.if ${OSVERSION} < 500000 - @${REINPLACE_CMD} -e 's|stdint\.h|inttypes.h|' \ - ${WRKSRC}/src/exrblur.c \ - ${WRKSRC}/src/exrchr.c \ - ${WRKSRC}/src/exrnlm.c \ - ${WRKSRC}/src/exrnormalize.c \ - ${WRKSRC}/src/exrpptm.c \ - ${WRKSRC}/src/ppmtoexr.c \ - ${WRKSRC}/src/exricamtm.c \ - ${WRKSRC}/src/jpeginput.h \ - ${WRKSRC}/src/pngoutput.h \ - ${WRKSRC}/src/pnginput.h - @${REINPLACE_CMD} -e 's|inttypes\.h|sys/types.h|' \ - ${WRKSRC}/src/ppmtoexr.c -.endif - -.include <bsd.port.post.mk> + +.include <bsd.port.mk> diff --git a/graphics/geomorph/Makefile b/graphics/geomorph/Makefile index d57f9b1..fc95d80 100644 --- a/graphics/geomorph/Makefile +++ b/graphics/geomorph/Makefile @@ -24,12 +24,6 @@ GNU_CONFIGURE= yes PLIST_SUB= PORTVERSION=${PORTVERSION} -.include <bsd.port.pre.mk> - -.if ${OSVERSION} < 500000 -EXTRA_PATCHES= ${PATCHDIR}/extra-patch-* -.endif - post-patch: @${REINPLACE_CMD} -e 's|libpng|libpng12|' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|/usr/local/share/geomorph|${DATADIR}|' ${WRKSRC}/install-step* ${WRKSRC}/install-user ${WRKSRC}/src/app/app.c @@ -37,4 +31,4 @@ post-patch: @${REINPLACE_CMD} -e '/DEFAULT_DIR/ s|geomorph|.geomorph|' ${WRKSRC}/src/app/globals.h ${WRKSRC}/src/hf/globals.h @${RM} ${WRKSRC}/install-step*.bak ${WRKSRC}/install-user*.bak -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/graphics/glitz/Makefile b/graphics/glitz/Makefile index 8146c84..d03b9af 100644 --- a/graphics/glitz/Makefile +++ b/graphics/glitz/Makefile @@ -23,12 +23,4 @@ USE_LDCONFIG= yes CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS}" \ LDFLAGS="${PTHREAD_LIBS}" -.include <bsd.port.pre.mk> - -post-patch: -.if ${OSVERSION} < 500000 - @${REINPLACE_CMD} -e 's|stdint.h|inttypes.h|' \ - ${WRKSRC}/src/glitzint.h -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/graphics/gwenview-kde4/Makefile b/graphics/gwenview-kde4/Makefile index e9de42f..561c27e 100644 --- a/graphics/gwenview-kde4/Makefile +++ b/graphics/gwenview-kde4/Makefile @@ -30,10 +30,4 @@ MAN1= gwenview.1 post-patch: @${REINPLACE_CMD} -e 's|-O2||g' ${WRKSRC}/${CONFIGURE_SCRIPT} -.include <bsd.port.pre.mk> - -.if ${OSVERSION} < 500000 -BROKEN= Does not compile on 4.x -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/graphics/gwenview/Makefile b/graphics/gwenview/Makefile index e9de42f..561c27e 100644 --- a/graphics/gwenview/Makefile +++ b/graphics/gwenview/Makefile @@ -30,10 +30,4 @@ MAN1= gwenview.1 post-patch: @${REINPLACE_CMD} -e 's|-O2||g' ${WRKSRC}/${CONFIGURE_SCRIPT} -.include <bsd.port.pre.mk> - -.if ${OSVERSION} < 500000 -BROKEN= Does not compile on 4.x -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/graphics/ida/Makefile b/graphics/ida/Makefile index a4d8434c..b43b57b 100644 --- a/graphics/ida/Makefile +++ b/graphics/ida/Makefile @@ -33,14 +33,6 @@ PORTDOCS= README TODO INSTALL PLIST_FILES= bin/exiftran bin/ida lib/X11/app-defaults/Ida -.include <bsd.port.pre.mk> - -post-patch: -.if ${OSVERSION} < 500000 - @${REINPLACE_CMD} -e 's|PRId32|"d"|g' -e 's|PRIx32|"x"|g' \ - ${WRKSRC}/tiff.c ${WRKSRC}/xwd.c -.endif - post-install: ${INSTALL_PROGRAM} ${WRKSRC}/exiftran ${PREFIX}/bin .if !defined(NOPORTDOCS) @@ -50,4 +42,4 @@ post-install: .endfor .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/graphics/inventor/Makefile b/graphics/inventor/Makefile index 0ab5fd2..7888e33 100644 --- a/graphics/inventor/Makefile +++ b/graphics/inventor/Makefile @@ -147,12 +147,6 @@ MAN3= SoAction.3iv SoCallbackAction.3iv SoGLRenderAction.3iv \ SoXtExaminerViewer.3iv SoXtFlyViewer.3iv SoXtFullViewer.3iv \ SoXtPlaneViewer.3iv SoXtViewer.3iv SoXtWalkViewer.3iv -.include <bsd.port.pre.mk> - -.if ${OSVERSION} < 500000 -BROKEN= "Does not compile" -.endif - post-patch: @${REINPLACE_CMD} -e 's|%%CC%%|${CC}|g ;\ s|%%CXX%%|${CXX}|g ; \ @@ -160,4 +154,4 @@ post-patch: post-install: @${SED} -e "s,%%PREFIX%%,${PREFIX},g" ${PKGMESSAGE} -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/graphics/kphotoalbum-kde4/Makefile b/graphics/kphotoalbum-kde4/Makefile index bb540de..dc73974 100644 --- a/graphics/kphotoalbum-kde4/Makefile +++ b/graphics/kphotoalbum-kde4/Makefile @@ -25,10 +25,4 @@ USE_AUTOTOOLS= libtool:15 post-patch: @${REINPLACE_CMD} -e 's/-O2//g' ${WRKSRC}/${CONFIGURE_SCRIPT} -.include <bsd.port.pre.mk> - -.if ${OSVERSION} < 500000 -BROKEN= Does not compile -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/graphics/kphotoalbum/Makefile b/graphics/kphotoalbum/Makefile index bb540de..dc73974 100644 --- a/graphics/kphotoalbum/Makefile +++ b/graphics/kphotoalbum/Makefile @@ -25,10 +25,4 @@ USE_AUTOTOOLS= libtool:15 post-patch: @${REINPLACE_CMD} -e 's/-O2//g' ${WRKSRC}/${CONFIGURE_SCRIPT} -.include <bsd.port.pre.mk> - -.if ${OSVERSION} < 500000 -BROKEN= Does not compile -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/graphics/libpcd/Makefile b/graphics/libpcd/Makefile index d1cf1f7..102c7e0 100644 --- a/graphics/libpcd/Makefile +++ b/graphics/libpcd/Makefile @@ -19,11 +19,4 @@ INSTALLS_SHLIB= yes WRKSRC= ${WRKDIR}/${DISTNAME:S/_/-/} MAKEFILE= ${WRKSRC}/GNUmakefile -.include <bsd.port.pre.mk> - -.if ${OSVERSION} < 500000 -post-patch: - @${REINPLACE_CMD} -e 's/uint_fast16_t/uint32_t/' ${WRKSRC}/yuv2rgb.c -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/graphics/libsvg/Makefile b/graphics/libsvg/Makefile index 477fdab..8fa5055 100644 --- a/graphics/libsvg/Makefile +++ b/graphics/libsvg/Makefile @@ -32,12 +32,4 @@ PLIST_FILES= include/svg.h \ lib/libsvg.so.1 \ libdata/pkgconfig/libsvg.pc -.include <bsd.port.pre.mk> - -post-patch: -.if ${OSVERSION} < 500000 - @${REINPLACE_CMD} -e 's|stdint.h|inttypes.h|' \ - ${WRKSRC}/src/svg_ascii.h -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/graphics/libx3dtk/Makefile b/graphics/libx3dtk/Makefile index d418e84..cb5e338 100644 --- a/graphics/libx3dtk/Makefile +++ b/graphics/libx3dtk/Makefile @@ -35,10 +35,6 @@ QMAKESPEC?= ${LOCALBASE}/share/qt/mkspecs/freebsd-g++ .include <bsd.port.pre.mk> -.if ${OSVERSION} < 500000 -BROKEN=does not compile -.endif - .if ${ARCH} == "ia64" BROKEN= broken on ia64 .endif diff --git a/graphics/metacam/Makefile b/graphics/metacam/Makefile index c5edb95..ea0a55f 100644 --- a/graphics/metacam/Makefile +++ b/graphics/metacam/Makefile @@ -30,14 +30,6 @@ MAN1= metacam.1 ALL_TARGET= ${PORTNAME} -.include <bsd.port.pre.mk> - -.if ${OSVERSION} < 500000 -post-patch: - @${REINPLACE_CMD} -e 's|<\(getopt\.h\)>|"\1"|' ${WRKSRC}/${PORTNAME}.cc - ${CP} ${FILESDIR}/getopt.h ${WRKSRC} -.endif - do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin ${INSTALL_MAN} ${FILESDIR}/${PORTNAME}.1 ${MANPREFIX}/man/man1 @@ -49,4 +41,4 @@ do-install: .endfor .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/graphics/netpbm/Makefile b/graphics/netpbm/Makefile index 60d62a7..d42dc4b 100644 --- a/graphics/netpbm/Makefile +++ b/graphics/netpbm/Makefile @@ -52,11 +52,6 @@ DEVEL_PORTVERSION= 10.31 # -O causes an ICE in converter/other/exif.c with gcc 3.3.3 on sparc64. CFLAGS+= -O0 .endif -.if ${ARCH} == "alpha" -.if ${OSVERSION} < 500000 -CFLAGS+= -O0 -.endif -.endif .if defined(WITH_NETPBM_DEVEL) EXTRA_PATCHES+= ${FILESDIR}/editor-pnmquant-devel.patch diff --git a/graphics/povray/Makefile b/graphics/povray/Makefile index ad10dd9..667c22a 100644 --- a/graphics/povray/Makefile +++ b/graphics/povray/Makefile @@ -63,10 +63,6 @@ CONFIGURE_ARGS= --x-includes="${X11BASE}/include" --includedir=${LOCALBASE} \ MAN1= povray.1 -.if ${OSVERSION} < 500000 -BROKEN= Does not build on 4.x -.endif - post-patch: #@${REINPLACE_CMD} -e 's+@PREFIX@+${PREFIX}+g;' ${WRKSRC}/povray.ini #@${REINPLACE_CMD} -e 's+%INSTALLDIR%+${PREFIX}/share/${PORTNAME}-${PORTVERSION}+g;' ${WRKSRC}/povray.conf diff --git a/graphics/povray36/Makefile b/graphics/povray36/Makefile index ad10dd9..667c22a 100644 --- a/graphics/povray36/Makefile +++ b/graphics/povray36/Makefile @@ -63,10 +63,6 @@ CONFIGURE_ARGS= --x-includes="${X11BASE}/include" --includedir=${LOCALBASE} \ MAN1= povray.1 -.if ${OSVERSION} < 500000 -BROKEN= Does not build on 4.x -.endif - post-patch: #@${REINPLACE_CMD} -e 's+@PREFIX@+${PREFIX}+g;' ${WRKSRC}/povray.ini #@${REINPLACE_CMD} -e 's+%INSTALLDIR%+${PREFIX}/share/${PORTNAME}-${PORTVERSION}+g;' ${WRKSRC}/povray.conf diff --git a/graphics/povray37/Makefile b/graphics/povray37/Makefile index ad10dd9..667c22a 100644 --- a/graphics/povray37/Makefile +++ b/graphics/povray37/Makefile @@ -63,10 +63,6 @@ CONFIGURE_ARGS= --x-includes="${X11BASE}/include" --includedir=${LOCALBASE} \ MAN1= povray.1 -.if ${OSVERSION} < 500000 -BROKEN= Does not build on 4.x -.endif - post-patch: #@${REINPLACE_CMD} -e 's+@PREFIX@+${PREFIX}+g;' ${WRKSRC}/povray.ini #@${REINPLACE_CMD} -e 's+%INSTALLDIR%+${PREFIX}/share/${PORTNAME}-${PORTVERSION}+g;' ${WRKSRC}/povray.conf diff --git a/graphics/py-cairo/Makefile b/graphics/py-cairo/Makefile index 7ffb7a4..4cd1bba 100644 --- a/graphics/py-cairo/Makefile +++ b/graphics/py-cairo/Makefile @@ -29,15 +29,9 @@ CONFIGURE_ARGS= --without-pygtk CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include" \ LDFLAGS="-L${X11BASE}/lib" -.include <bsd.port.pre.mk> - -.if ${OSVERSION} < 500000 -IGNORE= does not build on FreeBSD 4.x -.endif - post-patch: @${REINPLACE_CMD} -e 's|$$(libdir)/pkgconfig|${PREFIX}/libdata/pkgconfig|; \ s|SUBDIRS = cairo examples test|SUBDIRS = cairo examples|' \ ${WRKSRC}/Makefile.in -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/graphics/raster3d/Makefile b/graphics/raster3d/Makefile index 2027a74..fe379fc 100644 --- a/graphics/raster3d/Makefile +++ b/graphics/raster3d/Makefile @@ -35,12 +35,6 @@ PLIST_SUB+= IMAGEMAGICK="@comment " MANL= avs2ps.l label3d.l r3d_objects.l rastep.l render.l rods.l \ balls.l normal3d.l r3dtops.l raster3d.l ribbon.l stereo3d.l -.include <bsd.port.pre.mk> - -.if ${OSVERSION} < 500000 -EXTRA_PATCHES= ${FILESDIR}/extrapatch-avs2ps.c ${FILESDIR}/extrapatch-in.h -.endif - pre-build: @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} freebsd @@ -65,4 +59,4 @@ post-install: cd ${WRKSRC}/examples/msms && ${INSTALL_DATA} * ${EXAMPLESDIR}/msms .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/graphics/sharpconstruct/Makefile b/graphics/sharpconstruct/Makefile index c3c00cc..e661847 100644 --- a/graphics/sharpconstruct/Makefile +++ b/graphics/sharpconstruct/Makefile @@ -29,12 +29,6 @@ MAN1= sharpconstruct.1 ONLY_FOR_ARCHS= i386 -.include <bsd.port.pre.mk> - -.if ${OSVERSION} < 500000 -BROKEN= Does not compile on FreeBSD 4.x (lack of *round* functions) -.endif - post-patch: @${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' ${WRKSRC}/include/Align.hh @${REINPLACE_CMD} -e 's|"/sharpconstruct|"|' ${WRKSRC}/src/MainWindow.cc @@ -44,4 +38,4 @@ post-patch: @${FIND} ${WRKSRC} -name Makefile.in -print0 | ${XARGS} -0 \ ${REINPLACE_CMD} -e '/^DEFS / s|$$| -DDATADIR=\\"${DATADIR}\\"|' -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/graphics/swfmill/Makefile b/graphics/swfmill/Makefile index 6b84c96..11a8dd1 100644 --- a/graphics/swfmill/Makefile +++ b/graphics/swfmill/Makefile @@ -24,13 +24,7 @@ CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}" PKG_CONFIG=${LOCALBASE}/bin/pkg-config USE_LDCONFIG= YES -.include <bsd.port.pre.mk> - post-patch: @${REINPLACE_CMD} -e 's|libpng|libpng12|' ${WRKSRC}/configure -.if ${OSVERSION} < 500000 - ${REINPLACE_CMD} 's:#include.<stdint\.h>:#include <sys/types.h>:' \ - ${WRKSRC}/src/*.h -.endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/graphics/uDrawGraph/Makefile b/graphics/uDrawGraph/Makefile index df13ba7..4c5225b 100644 --- a/graphics/uDrawGraph/Makefile +++ b/graphics/uDrawGraph/Makefile @@ -15,6 +15,8 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}-${PKGNUM}-${OPSYS:L}-${ARCH} MAINTAINER= nivit@FreeBSD.org COMMENT= A graph drawing/visualization system +LIB_DEPENDS= c.4:${PORTSDIR}/misc/compat4x + NO_BUILD= yes ONLY_FOR_ARCHS= i386 @@ -79,10 +81,4 @@ do-install: @${LN} ${LINK_OPTS} ${DOCSDIR} ${DATADIR}/docs .endif -.include <bsd.port.pre.mk> - -.if ${OSVERSION} >= 500000 -LIB_DEPENDS+= c.4:${PORTSDIR}/misc/compat4x -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/graphics/xnview/Makefile b/graphics/xnview/Makefile index 19d2685..9c88ce4 100644 --- a/graphics/xnview/Makefile +++ b/graphics/xnview/Makefile @@ -27,16 +27,6 @@ MLINKS= nview.1 nv.1 \ .include <bsd.port.pre.mk> -.if ${OSVERSION} < 500000 -PORTVERSION= 1.68 -PORTREVISION= 1 -DISTNAME= XnView-x86-unknown-FreeBSD4.x-static -WRKSRC= ${WRKDIR}/XnView-${PORTVERSION}-x86-unknown-FreeBSD4.x-static -PLIST_SUB+= FREEBSD4="" -.else -PLIST_SUB+= FREEBSD4="@comment " -.endif - .if ${OSVERSION} >= 600000 LIB_DEPENDS+= c.5:${PORTSDIR}/misc/compat5x .endif @@ -45,10 +35,6 @@ do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/xnview ${PREFIX}/bin/xnview ${INSTALL_PROGRAM} ${WRKSRC}/bin/nview ${PREFIX}/bin/nv ${INSTALL_PROGRAM} ${WRKSRC}/bin/nconvert ${PREFIX}/bin/nconvert -.if ${OSVERSION} < 500000 - ${INSTALL_PROGRAM} ${WRKSRC}/lib/libformat.so.4.16 ${PREFIX}/lib/libformat.so.4 - ${LN} -sf ${PREFIX}/lib/libformat.so.4 ${PREFIX}/lib/libformat.so -.endif ${INSTALL_DATA} ${WRKSRC}/app-defaults/XnView.ad ${PREFIX}/lib/X11/app-defaults/XnView cd ${WRKSRC}/man && ${INSTALL_MAN} xnview.1 nview.1 ${PREFIX}/man/man1 diff --git a/graphics/xnview/pkg-plist b/graphics/xnview/pkg-plist index b2bf0c1..4023cd1 100644 --- a/graphics/xnview/pkg-plist +++ b/graphics/xnview/pkg-plist @@ -2,8 +2,6 @@ bin/nconvert bin/nv bin/xnview lib/X11/app-defaults/XnView -%%FREEBSD4%%lib/libformat.so -%%FREEBSD4%%lib/libformat.so.4 %%PORTDOCS%%%%DOCSDIR%%/Formats.txt %%PORTDOCS%%%%DOCSDIR%%/ReadMe.txt %%PORTDOCS%%%%DOCSDIR%%/Usage.txt |