svn commit: r359769 - in head/sysutils/stmpclean: . files
Vanilla I. Shu
vanilla at FreeBSD.org
Sun Jun 29 14:45:48 UTC 2014
Author: vanilla
Date: Sun Jun 29 14:45:47 2014
New Revision: 359769
URL: http://svnweb.freebsd.org/changeset/ports/359769
QAT: https://qat.redports.org/buildarchive/r359769/
Log:
Stagify.
Approved by: portmgr@ (blanket approval)
Modified:
head/sysutils/stmpclean/Makefile
head/sysutils/stmpclean/files/patch-Makefile
Modified: head/sysutils/stmpclean/Makefile
==============================================================================
--- head/sysutils/stmpclean/Makefile Sun Jun 29 14:32:27 2014 (r359768)
+++ head/sysutils/stmpclean/Makefile Sun Jun 29 14:45:47 2014 (r359769)
@@ -9,11 +9,8 @@ MASTER_SITES= http://shlang.com/stmpclea
MAINTAINER= shalunov at shlang.com
COMMENT= Remove old files from temporary directories
-MAN8= stmpclean.8
-MANCOMPRESSED= no
-PLIST_FILES= sbin/stmpclean
+PLIST_FILES= sbin/stmpclean man/man8/stmpclean.8.gz
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e "s/-O6//g" ${WRKSRC}/Makefile
Modified: head/sysutils/stmpclean/files/patch-Makefile
==============================================================================
--- head/sysutils/stmpclean/files/patch-Makefile Sun Jun 29 14:32:27 2014 (r359768)
+++ head/sysutils/stmpclean/files/patch-Makefile Sun Jun 29 14:45:47 2014 (r359769)
@@ -1,11 +1,26 @@
---- Makefile.orig Mon Sep 29 07:01:15 2003
-+++ Makefile Mon Sep 29 07:01:23 2003
+--- Makefile.orig 2003-03-22 05:58:00.000000000 +0800
++++ Makefile 2014-06-29 22:39:49.234628215 +0800
@@ -2,7 +2,7 @@
# Written by Stanislav Shalunov.
- # $Id: Makefile,v 1.4 1999/08/04 18:30:02 shalunov Exp $
+ # $Id: Makefile,v 1.6 2003/03/21 21:58:00 shalunov Exp $
-PREFIX=/usr/local
+PREFIX?=/usr/local
BINDIR=$(PREFIX)/sbin
MANDIR=$(PREFIX)/man/man8
+@@ -11,10 +11,10 @@ CFLAGS += -O6 -Wall -W -pedantic
+ all: stmpclean stmpclean.0
+
+ install: all
+- if [ ! -d $(BINDIR) ] ; then mkdir -p -m 0755 $(BINDIR); fi
+- if [ ! -d $(MANDIR) ] ; then mkdir -p -m 0755 $(MANDIR); fi
+- install -c -o 0 -g 0 -m 0555 stmpclean $(BINDIR)/
+- install -c -o 0 -g 0 -m 0444 stmpclean.8 $(MANDIR)/
++ if [ ! -d $(DESTDIR)$(BINDIR) ] ; then mkdir -p -m 0755 $(DESTDIR)$(BINDIR); fi
++ if [ ! -d $(DESTDIR)$(MANDIR) ] ; then mkdir -p -m 0755 $(DESTDIR)$(MANDIR); fi
++ install -c -o 0 -g 0 -m 0555 stmpclean $(DESTDIR)$(BINDIR)/
++ install -c -o 0 -g 0 -m 0444 stmpclean.8 $(DESTDIR)$(MANDIR)/
+
+ stmpclean.o: stmpclean.c
+
More information about the svn-ports-all
mailing list