Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Jun 2014 13:44:03 +0000 (UTC)
From:      "Vanilla I. Shu" <vanilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r359522 - in head/sysutils/mcweject: . files
Message-ID:  <201406271344.s5RDi3PS090793@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Fri Jun 27 13:44:03 2014
New Revision: 359522
URL: http://svnweb.freebsd.org/changeset/ports/359522
QAT: https://qat.redports.org/buildarchive/r359522/

Log:
  Stagify.
  
  Approved by:	portmgr@ (blanket approval)

Added:
  head/sysutils/mcweject/files/patch-Makefile   (contents, props changed)
  head/sysutils/mcweject/pkg-plist   (contents, props changed)
Modified:
  head/sysutils/mcweject/Makefile

Modified: head/sysutils/mcweject/Makefile
==============================================================================
--- head/sysutils/mcweject/Makefile	Fri Jun 27 13:39:26 2014	(r359521)
+++ head/sysutils/mcweject/Makefile	Fri Jun 27 13:44:03 2014	(r359522)
@@ -9,17 +9,8 @@ MASTER_SITES=	http://www.neuro.mcw.edu/~
 MAINTAINER=	jwbacon@tds.net
 COMMENT=	Removable media eject
 
-MAN1=		eject.1
-SUB_FILES=	pkg-message
-
 CONFLICTS=	eject-[0-9]*
+SUB_FILES=	pkg-message
 PKGMESSAGE=	${WRKDIR}/pkg-message
 
-PLIST_FILES=	sbin/eject share/examples/mcweject/eject.allow
-PLIST_DIRS=	share/examples/mcweject
-
-NO_STAGE=	yes
-post-install:
-	@${CAT} ${PKGMESSAGE}
-
 .include <bsd.port.mk>

Added: head/sysutils/mcweject/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/mcweject/files/patch-Makefile	Fri Jun 27 13:44:03 2014	(r359522)
@@ -0,0 +1,19 @@
+--- Makefile.orig	2014-06-27 21:40:12.377893504 +0800
++++ Makefile	2014-06-27 21:40:47.338913495 +0800
+@@ -13,11 +13,11 @@ eject.o:    eject.c eject.h protos.h Mak
+ 	$(CC) -c $(CFLAGS) eject.c
+ 
+ install:    eject
+-	mkdir -p ${PREFIX}/share/examples/mcweject
+-	install -c -o root -g wheel -m 444 \
+-		eject.allow ${PREFIX}/share/examples/mcweject
+-	install -c -o root -g wheel -m 4511 eject ${PREFIX}/sbin
+-	install -c -o root -g wheel -m 444 eject.1 ${PREFIX}/man/man1
++	mkdir -p $(DESTDIR)${PREFIX}/share/examples/mcweject
++	install -c -o root -g wheel \
++		eject.allow $(DESTDIR)${PREFIX}/share/examples/mcweject
++	install -c -o root -g wheel eject $(DESTDIR)${PREFIX}/sbin
++	install -c -o root -g wheel eject.1 $(DESTDIR)${PREFIX}/man/man1
+ 
+ reallyclean:	clean
+ 	rm -f .*.bak

Added: head/sysutils/mcweject/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/mcweject/pkg-plist	Fri Jun 27 13:44:03 2014	(r359522)
@@ -0,0 +1,6 @@
+man/man1/eject.1.gz
+@mode 4511
+sbin/eject
+@mode
+%%EXAMPLESDIR%%/eject.allow
+@dirrmtry %%EXAMPLESDIR%%



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406271344.s5RDi3PS090793>