summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorobache <obache>2012-06-02 05:53:14 +0000
committerobache <obache>2012-06-02 05:53:14 +0000
commit8fe44962839bacdc34c859bd3333bea70572bb81 (patch)
treee5a7d82588bf4e46a2391220f99780f7975fd0fa /devel
parentb3577ba5233f739fd35801f208114ba95d50964d (diff)
downloadpkgsrc-8fe44962839bacdc34c859bd3333bea70572bb81.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