summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2012-06-02 05:53:14 +0000
committerobache <obache@pkgsrc.org>2012-06-02 05:53:14 +0000
commiteedac345797530963e1a88fe400966d5eb5d34ee (patch)
treee5a7d82588bf4e46a2391220f99780f7975fd0fa /devel
parente546fdacf51477e38d892b15a56a6812e2c82bdf (diff)
downloadpkgsrc-eedac345797530963e1a88fe400966d5eb5d34ee.tar.gz
Convert to usual way to define DISTNAME/PKGNAME and WRKSRC.
Diffstat (limited to 'devel')
-rw-r--r--devel/splint/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/devel/splint/Makefile b/devel/splint/Makefile
index 6ef73fecd05..888866e1d28 100644
--- a/devel/splint/Makefile
+++ b/devel/splint/Makefile
@@ -1,11 +1,11 @@
-# $NetBSD: Makefile,v 1.16 2012/01/02 04:19:44 dholland Exp $
+# $NetBSD: Makefile,v 1.17 2012/06/02 05:53:14 obache Exp $
#
-DISTNAME= splint-3.1.2
-VERSION= 3.1.2
+DISTNAME= splint-3.1.2.src
+PKGNAME= ${DISTNAME:S/.src$//}
CATEGORIES= devel
MASTER_SITES= http://www.splint.org/downloads/
-DISTFILES= ${DISTNAME}.src.tgz
+EXTRACT_SUFX= .tgz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://lclint.cs.virginia.edu/
@@ -18,6 +18,8 @@ MAKE_JOBS_SAFE= no
USE_TOOLS+= gmake lex
GNU_CONFIGURE= YES
+WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
+
post-install:
${INSTALL_MAN} ${WRKSRC}/doc/splint.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1