[139709] trunk/dports/sysutils/mkpwd
khindenburg at macports.org
khindenburg at macports.org
Mon Aug 24 20:41:09 PDT 2015
Revision: 139709
https://trac.macports.org/changeset/139709
Author: khindenburg at macports.org
Date: 2015-08-24 20:41:08 -0700 (Mon, 24 Aug 2015)
Log Message:
-----------
mkpwd: update to 0.8 #48638; use the right compiler
Modified Paths:
--------------
trunk/dports/sysutils/mkpwd/Portfile
trunk/dports/sysutils/mkpwd/files/patch-Makefile
Modified: trunk/dports/sysutils/mkpwd/Portfile
===================================================================
--- trunk/dports/sysutils/mkpwd/Portfile 2015-08-25 03:11:46 UTC (rev 139708)
+++ trunk/dports/sysutils/mkpwd/Portfile 2015-08-25 03:41:08 UTC (rev 139709)
@@ -4,7 +4,7 @@
PortSystem 1.0
name mkpwd
-version 0.7
+version 0.8
categories sysutils
license Permissive
platforms darwin
@@ -15,21 +15,28 @@
homepage http://www.o-schroeder.de/
master_sites ${homepage}/download/${name}/
-distfiles mkpwd-0-7.tgz
-checksums md5 2317f750932342d521819bd7c52cd300
+extract.suffix .tgz
+set real_version [strsed ${version} {s/\./\-/}]
+distname ${name}-${real_version}
+checksums rmd160 5bf94e92414366592573f8a92776ed2ae6b80395 \
+ sha256 352315e531d82f6e975fe135f31505b4c356256c26da1f0303c4f01f70779a62
+
+depends_build-append port:cctools
+
patchfiles patch-Makefile
worksrcdir ${name}
use_configure no
+build.args-append CC=${configure.cc}
build.target
destroot.args PREFIX=${prefix}
livecheck.type regex
livecheck.url ${master_sites}
-livecheck.regex href="/download/mkpwd/mkpwd-(\\d-\\d).tgz"
-livecheck.version 0-7
+livecheck.regex ${name}-(\[0-9.\]-\[0-9.\]+)\\${extract.suffix}
+livecheck.version ${real_version}
Modified: trunk/dports/sysutils/mkpwd/files/patch-Makefile
===================================================================
--- trunk/dports/sysutils/mkpwd/files/patch-Makefile 2015-08-25 03:11:46 UTC (rev 139708)
+++ trunk/dports/sysutils/mkpwd/files/patch-Makefile 2015-08-25 03:41:08 UTC (rev 139709)
@@ -1,6 +1,6 @@
---- Makefile Fri Dec 6 08:08:05 2002
-+++ ../../Makefile Mon Nov 8 17:35:00 2004
-@@ -3,9 +3,9 @@
+--- Makefile 2015-08-24 23:22:48.000000000 -0400
++++ Makefile 2015-08-24 23:23:24.000000000 -0400
+@@ -3,22 +3,22 @@
#################################################
# where the binary should be installed
@@ -12,9 +12,11 @@
PRG = mkpwd
SRC = mkpwd.c
-@@ -14,11 +14,11 @@
+ OBJ = mkpwd.o
+ MAN = mkpwd.1
- CC = gcc
+-CC = gcc
++#CC = gcc
# FLAGS = -g
-LDFLAGS = -lcrypt
+LDFLAGS =
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150824/fcddb91d/attachment.html>
More information about the macports-changes
mailing list