Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Apr 2014 07:58:09 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r351761 - in head/x11-wm/nickleby: . files
Message-ID:  <201404220758.s3M7w9pq000485@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Tue Apr 22 07:58:09 2014
New Revision: 351761
URL: http://svnweb.freebsd.org/changeset/ports/351761
QAT: https://qat.redports.org/buildarchive/r351761/

Log:
  Support stage
  Allow packaging as a user

Added:
  head/x11-wm/nickleby/files/
  head/x11-wm/nickleby/files/patch-Makefile   (contents, props changed)
Modified:
  head/x11-wm/nickleby/Makefile

Modified: head/x11-wm/nickleby/Makefile
==============================================================================
--- head/x11-wm/nickleby/Makefile	Tue Apr 22 07:48:59 2014	(r351760)
+++ head/x11-wm/nickleby/Makefile	Tue Apr 22 07:58:09 2014	(r351761)
@@ -9,12 +9,12 @@ MASTER_SITES=	http://www.mammothcheese.c
 MAINTAINER=	jimmy@mammothcheese.ca
 COMMENT=	Simple window manager
 
-MAN1=	nickleby.1
-MANCOMPRESSED=	yes
 MAKE_ENV=	X11BASE=${LOCALBASE}
 USE_XORG=	x11
 
-PLIST_FILES=	bin/nickleby
+MAKE_ENV=	INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
+		INSTALL_MAN="${INSTALL_MAN}"
+PLIST_FILES=	bin/nickleby \
+		man/man1/nickleby.1.gz
 
-NO_STAGE=	yes
 .include <bsd.port.mk>

Added: head/x11-wm/nickleby/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-wm/nickleby/files/patch-Makefile	Tue Apr 22 07:58:09 2014	(r351761)
@@ -0,0 +1,13 @@
+--- ./Makefile.orig	2007-10-17 09:12:58.000000000 +0200
++++ ./Makefile	2014-04-22 09:57:02.793478004 +0200
+@@ -21,8 +21,8 @@
+ 	${CC} ${CFLAGS} ${INC} -o nickleby nickleby.c ${LIB}
+ 
+ install: all
+-	${INSTALL_PROGRAM} nickleby ${DEST}
+-	${INSTALL_MAN} nickleby.1.gz ${PREFIX}/man/man1
++	${INSTALL_PROGRAM} nickleby ${DESTDIR}${PREFIX}/bin
++	${INSTALL_MAN} nickleby.1.gz ${DESTDIR}${PREFIX}/man/man1
+ 
+ clean:
+ 	${RM} -f nickleby



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