aboutsummaryrefslogtreecommitdiff
path: root/graphics/xnview
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2009-01-05 20:36:33 +0000
committerPav Lucistnik <pav@FreeBSD.org>2009-01-05 20:36:33 +0000
commit41d8c3385c21ae51629c8997035eae8a9423ff6c (patch)
tree246d960cb714ce0095c452017819f6b1c64a7dfb /graphics/xnview
parent5e3b0872db18497aacc353b3ef94ad8dac11183f (diff)
downloadports-41d8c3385c21ae51629c8997035eae8a9423ff6c.tar.gz
ports-41d8c3385c21ae51629c8997035eae8a9423ff6c.zip
- Remove conditional checks for FreeBSD 5.x and older
Notes
Notes: svn path=/head/; revision=225297
Diffstat (limited to 'graphics/xnview')
-rw-r--r--graphics/xnview/Makefile17
1 files changed, 3 insertions, 14 deletions
diff --git a/graphics/xnview/Makefile b/graphics/xnview/Makefile
index c85ff40ee9b8..0cf08adef960 100644
--- a/graphics/xnview/Makefile
+++ b/graphics/xnview/Makefile
@@ -26,11 +26,9 @@ MLINKS= nview.1 nv.1 \
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 600000
- LIB_DEPENDS+= c.5:${PORTSDIR}/misc/compat5x
- DISTFILES+= NConvert-x86-unknown-FreeBSD6.x.tgz
- WRKSRC_NC= ${WRKDIR}/NConvert
-.endif
+LIB_DEPENDS+= c.5:${PORTSDIR}/misc/compat5x
+DISTFILES+= NConvert-x86-unknown-FreeBSD6.x.tgz
+WRKSRC_NC= ${WRKDIR}/NConvert
.if ${OSVERSION} >= 700000
LIB_DEPENDS+= c.6:${PORTSDIR}/misc/compat6x
@@ -39,23 +37,14 @@ MLINKS= nview.1 nv.1 \
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/xnview ${PREFIX}/bin/xnview
${INSTALL_PROGRAM} ${WRKSRC}/bin/nview ${PREFIX}/bin/nv
-.if ${OSVERSION} >= 600000
${INSTALL_PROGRAM} ${WRKSRC_NC}/nconvert ${PREFIX}/bin/nconvert
-.else
- ${INSTALL_PROGRAM} ${WRKSRC}/bin/nconvert ${PREFIX}/bin/nconvert
-.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
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
-.if ${OSVERSION} >= 600000
cd ${WRKSRC_NC} && \
${INSTALL_DATA} Formats.txt ReadMe.txt Usage.txt WhatsNew.txt ${DOCSDIR}
-.else
- cd ${WRKSRC} && \
- ${INSTALL_DATA} Formats.txt ReadMe.txt Usage.txt WhatsNew.txt ${DOCSDIR}
-.endif
.endif
.include <bsd.port.post.mk>