diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2003-12-14 15:27:30 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2003-12-14 15:27:30 +0000 |
commit | 54468d5dfe373088db906e85946ce90eb58a7d7d (patch) | |
tree | def5253c2f13d8b6bc77df5ce9f369a0948e261a /graphics/xnview | |
parent | e0fc1e29c40498906a159760227443fee384ee0f (diff) | |
download | ports-54468d5dfe373088db906e85946ce90eb58a7d7d.tar.gz ports-54468d5dfe373088db906e85946ce90eb58a7d7d.zip |
Notes
Diffstat (limited to 'graphics/xnview')
-rw-r--r-- | graphics/xnview/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/graphics/xnview/Makefile b/graphics/xnview/Makefile index dc9cbd566d28..dff20079bc45 100644 --- a/graphics/xnview/Makefile +++ b/graphics/xnview/Makefile @@ -15,14 +15,18 @@ EXTRACT_SUFX= .tgz MAINTAINER= petr@petrovich.kiev.ua COMMENT= An easy graphics viewer / converter -LIB_DEPENDS= c.4:${PORTSDIR}/misc/compat4x - ONLY_FOR_ARCHS= i386 NO_BUILD= yes USE_X_PREFIX= yes WRKSRC= ${WRKDIR}/XnView-1.50-x86-unknown-FreeBSD4.x-static INSTALL_SLIB= yes +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 500000 +LIB_DEPENDS+= c.4:${PORTSDIR}/misc/compat4x +.endif + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/xnview ${PREFIX}/bin/xnview ${INSTALL_PROGRAM} ${WRKSRC}/bin/nview ${PREFIX}/bin/nv @@ -37,4 +41,4 @@ do-install: ${DOCSDIR} .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> |