Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/fortunes-de fortunes-de: Use DISTNAME and PKGNAM...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4a76ee7a6492
branches:  trunk
changeset: 433579:4a76ee7a6492
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Fri Jun 05 03:46:29 2020 +0000

description:
fortunes-de: Use DISTNAME and PKGNAME like other packages

diffstat:

 games/fortunes-de/Makefile |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (24 lines):

diff -r e44ab7424b32 -r 4a76ee7a6492 games/fortunes-de/Makefile
--- a/games/fortunes-de/Makefile        Fri Jun 05 03:40:22 2020 +0000
+++ b/games/fortunes-de/Makefile        Fri Jun 05 03:46:29 2020 +0000
@@ -1,15 +1,17 @@
-# $NetBSD: Makefile,v 1.17 2020/01/26 17:31:15 rillig Exp $
+# $NetBSD: Makefile,v 1.18 2020/06/05 03:46:29 ryoon Exp $
 #
 
-DISTNAME=      fortunes-de-0.20
+DISTNAME=      fortunes-de_0.20.orig
+PKGNAME=       ${DISTNAME:S/.orig$//:S/_/-/}
 CATEGORIES=    games
 MASTER_SITES=  ${MASTER_SITE_DEBIAN:=pool/main/f/fortunes-de/}
-DISTFILES=     fortunes-de_0.20.orig.tar.gz
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      https://packages.debian.org/unstable/games/fortunes-de.html
 COMMENT=       German data files for fortune
 
+WRKSRC=                ${WRKDIR}/${PKGNAME_NOREV}
+
 BUILD_DEPENDS+=        fortune-strfile-[0-9]*:../../games/fortune-strfile
 
 STRFILE=               ${LOCALBASE}/bin/strfile



Home | Main Index | Thread Index | Old Index