Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Nov 2013 12:46:34 +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: r333216 - in head/sysutils: asfsm asfsm/files asmem
Message-ID:  <201311081246.rA8CkYcc079899@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Fri Nov  8 12:46:34 2013
New Revision: 333216
URL: http://svnweb.freebsd.org/changeset/ports/333216

Log:
  Support STAGEDIR.

Added:
  head/sysutils/asfsm/files/pkg-message.in   (contents, props changed)
Modified:
  head/sysutils/asfsm/Makefile
  head/sysutils/asmem/Makefile

Modified: head/sysutils/asfsm/Makefile
==============================================================================
--- head/sysutils/asfsm/Makefile	Fri Nov  8 12:41:44 2013	(r333215)
+++ head/sysutils/asfsm/Makefile	Fri Nov  8 12:46:34 2013	(r333216)
@@ -14,19 +14,11 @@ COMMENT=	File-system monitor for the Aft
 USE_XORG=	xpm x11 sm ice xext xaw xt
 GNU_CONFIGURE=	yes
 
-MAN1=		asfsm.1
-PLIST_FILES=	bin/asfsm
+SUB_FILES=	pkg-message
+PLIST_FILES=	bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
 
-NO_STAGE=	yes
 do-install:
-	${INSTALL_MAN} ${WRKSRC}/asfsm.man ${PREFIX}/man/man1/asfsm.1
-	${INSTALL_PROGRAM} ${WRKSRC}/asfsm ${PREFIX}/bin
-
-post-install:
-	@${ECHO_MSG} ""
-	@${ECHO_MSG} "If you would like to be able to mount and umount file systems"
-	@${ECHO_MSG} "using asfsm, as root, type \`chmod 4555 ${PREFIX}/bin/asfsm\`"
-	@${ECHO_MSG} "NOTE: This opens a SECURITY HOLE as ALL users will have this ability."
-	@${ECHO_MSG} ""
+	${INSTALL_MAN} ${WRKSRC}/asfsm.man ${STAGEDIR}${PREFIX}/man/man1/asfsm.1
+	${INSTALL_PROGRAM} ${WRKSRC}/asfsm ${STAGEDIR}${PREFIX}/bin
 
 .include <bsd.port.mk>

Added: head/sysutils/asfsm/files/pkg-message.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/asfsm/files/pkg-message.in	Fri Nov  8 12:46:34 2013	(r333216)
@@ -0,0 +1,4 @@
+
+If you would like to be able to mount and umount file systems
+using asfsm, as root, type \`chmod 4555 %%PREFIX%%/bin/asfsm\`
+NOTE: This opens a SECURITY HOLE as ALL users will have this ability.

Modified: head/sysutils/asmem/Makefile
==============================================================================
--- head/sysutils/asmem/Makefile	Fri Nov  8 12:41:44 2013	(r333215)
+++ head/sysutils/asmem/Makefile	Fri Nov  8 12:46:34 2013	(r333216)
@@ -16,12 +16,10 @@ CONFIGURE_ARGS=	--with-xpm \
 		--with-xpm-includes=${LOCALBASE}/include \
 		--with-xpm-library=${LOCALBASE}/lib
 
-MAN1=		asmem.1
-PLIST_FILES=	bin/asmem
+PLIST_FILES=	bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
 
-NO_STAGE=	yes
 do-install:
-	${INSTALL_PROGRAM} -g kmem -m 2755 ${WRKSRC}/asmem ${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/asmem.man ${MANPREFIX}/man/man1/asmem.1
+	${INSTALL_PROGRAM} -g kmem -m 2755 ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.man ${STAGEDIR}${PREFIX}/man/man1/${PORTNAME}.1
 
 .include <bsd.port.mk>



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