aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorwxs <wxs@FreeBSD.org>2011-03-05 04:36:32 +0800
committerwxs <wxs@FreeBSD.org>2011-03-05 04:36:32 +0800
commitbe011430de36ea2362cb1d60c4d7e6562996d5f3 (patch)
treea93e94b7548a38a483ef5b8cf327495feaf74929 /games
parent168192306160f9f825b817b90273ea92dcf147fa (diff)
downloadfreebsd-ports-gnome-be011430de36ea2362cb1d60c4d7e6562996d5f3.tar.gz
freebsd-ports-gnome-be011430de36ea2362cb1d60c4d7e6562996d5f3.tar.zst
freebsd-ports-gnome-be011430de36ea2362cb1d60c4d7e6562996d5f3.zip
Add a verify target.
PR: ports/155138 Submitted by: dougb@
Diffstat (limited to 'games')
-rw-r--r--games/cowsay/Makefile9
-rw-r--r--games/cowsay/distinfo2
2 files changed, 11 insertions, 0 deletions
diff --git a/games/cowsay/Makefile b/games/cowsay/Makefile
index 8ba4c534b9b9..4af00e0638bd 100644
--- a/games/cowsay/Makefile
+++ b/games/cowsay/Makefile
@@ -10,6 +10,7 @@ PORTVERSION= 3.03
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= http://www.nog.net/~tony/warez/
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= wxs@FreeBSD.org
COMMENT= Configurable talking characters in ASCII art
@@ -21,6 +22,14 @@ NO_BUILD= # defined
MAN1= cowsay.1
MLINKS= cowsay.1 cowthink.1
+.if defined(MAINTAINER_MODE)
+DISTFILES+= ${DISTNAME}${EXTRACT_SUFX}.sig
+verify: fetch
+ @${ECHO_MSG} "Checking ${DISTNAME}${EXTRACT_SUFX}"
+ @gpg --verify ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}.sig 2>/dev/null || echo "Bad signature!"
+ @${ECHO_MSG} "Done"
+.endif
+
do-install:
cd ${WRKSRC}; ${SH} install.sh ${PREFIX}
@${INSTALL_DATA} ${FILESDIR}/box.cow ${PREFIX}/share/cows
diff --git a/games/cowsay/distinfo b/games/cowsay/distinfo
index 0ae2503e98eb..355a625020b6 100644
--- a/games/cowsay/distinfo
+++ b/games/cowsay/distinfo
@@ -1,2 +1,4 @@
SHA256 (cowsay-3.03.tar.gz) = 0b8672a7ac2b51183780db72618b42af8ec1ce02f6c05fe612510b650540b2af
SIZE (cowsay-3.03.tar.gz) = 15189
+SHA256 (cowsay-3.03.tar.gz.sig) = b5ca879164549eed7d5a9da03f6307860142d91b000765508bb3cd1805cfd6f6
+SIZE (cowsay-3.03.tar.gz.sig) = 152