diff options
author | Christian Weisgerber <naddy@FreeBSD.org> | 2003-04-23 22:13:41 +0000 |
---|---|---|
committer | Christian Weisgerber <naddy@FreeBSD.org> | 2003-04-23 22:13:41 +0000 |
commit | e1c97b86a00f67148f1415dd53c5f8ab0c10995c (patch) | |
tree | ab8f8a0a9e46153ea0167966a0db353d7aa4b31b /cad/gerbv/Makefile | |
parent | - Cosmetic fixes: (diff) |
Update to version 0.13.
PR: 51047
Submitted by: Ports Fury
Diffstat (limited to 'cad/gerbv/Makefile')
-rw-r--r-- | cad/gerbv/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/cad/gerbv/Makefile b/cad/gerbv/Makefile index eb517eabc9ea..f79432c57ab2 100644 --- a/cad/gerbv/Makefile +++ b/cad/gerbv/Makefile @@ -7,7 +7,7 @@ # PORTNAME= gerbv -PORTVERSION= 0.12 +PORTVERSION= 0.13 CATEGORIES= cad MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -26,7 +26,9 @@ MAN1= gerbv.1 CPPFLAGS= -I${LOCALBASE}/include LDFLAGS= -L${LOCALBASE}/lib -.if !exists(/usr/include/getopt.h) +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 500041 LIB_DEPENDS+= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt LDFLAGS+= -lgnugetopt .endif @@ -44,4 +46,4 @@ post-install: cpio -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR} .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> |