aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/xscoop
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/xscoop')
-rw-r--r--x11-toolkits/xscoop/Makefile14
-rw-r--r--x11-toolkits/xscoop/distinfo6
2 files changed, 14 insertions, 6 deletions
diff --git a/x11-toolkits/xscoop/Makefile b/x11-toolkits/xscoop/Makefile
index de4bc47d73e8..64d4cf4ccdc6 100644
--- a/x11-toolkits/xscoop/Makefile
+++ b/x11-toolkits/xscoop/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= xscoop
-PORTVERSION= 1.0.1
+PORTVERSION= 1.0.2
CATEGORIES= x11-toolkits
MASTER_SITES= ftp://ftp.datazygte.com/ports/x11-toolkits/xscoop/
@@ -21,10 +21,18 @@ NO_BUILD= yes
# distfile contains i386 binary
ONLY_FOR_ARCHS= i386
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION}>=600000
+EXEFILE= xscoop6
+.else
+EXEFILE= xscoop5
+.endif
+
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/xscoop ${PREFIX}/bin/xscoop
+ ${INSTALL_PROGRAM} ${WRKSRC}/${EXEFILE} ${PREFIX}/bin/xscoop
${INSTALL_MAN} ${WRKSRC}/xscoop.7 ${MAN7PREFIX}/man/man7/xscoop.7
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/xscoop.pdf ${DOCSDIR}/xscoop.pdf
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/x11-toolkits/xscoop/distinfo b/x11-toolkits/xscoop/distinfo
index 57907c0a2b86..0ba760e25f25 100644
--- a/x11-toolkits/xscoop/distinfo
+++ b/x11-toolkits/xscoop/distinfo
@@ -1,3 +1,3 @@
-MD5 (xscoop-1.0.1.tar.gz) = a407dd3e7fae0cd1559d935008f15d67
-SHA256 (xscoop-1.0.1.tar.gz) = b2ba1530768e14d0f3e6e10b61f2e50ea3fb5cb8076ddb4d37b7cecf7ad67c11
-SIZE (xscoop-1.0.1.tar.gz) = 89457
+MD5 (xscoop-1.0.2.tar.gz) = 52c2c433d50f91c413fb8880b58a0121
+SHA256 (xscoop-1.0.2.tar.gz) = f4ddccf6eaa99efa1e77bf8f3bd350ccda6b51285045579e39c033102038cccb
+SIZE (xscoop-1.0.2.tar.gz) = 91846