Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Sep 2013 10:31:36 +0000 (UTC)
From:      Alex Kozlov <ak@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r328263 - head/graphics/xmountains
Message-ID:  <201309251031.r8PAVaAw091712@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ak
Date: Wed Sep 25 10:31:36 2013
New Revision: 328263
URL: http://svnweb.freebsd.org/changeset/ports/328263

Log:
  - Support STAGEDIR
  - Add x11 as secondary category

Modified:
  head/graphics/xmountains/Makefile

Modified: head/graphics/xmountains/Makefile
==============================================================================
--- head/graphics/xmountains/Makefile	Wed Sep 25 10:25:23 2013	(r328262)
+++ head/graphics/xmountains/Makefile	Wed Sep 25 10:31:36 2013	(r328263)
@@ -3,7 +3,7 @@
 
 PORTNAME=	xmountains
 PORTVERSION=	2.9
-CATEGORIES=	graphics
+CATEGORIES=	graphics x11
 MASTER_SITES=	ftp://ftp.uwsg.indiana.edu/linux/debian/pool/main/x/xmountains/ \
 		ftp://ftp.fi.netbsd.org/.m/mirrors1/archive.ubuntu.com/pool/universe/x/xmountains/ \
 		ftp://ftp.mirrorservice.org/sites/archive.raspbian.org/raspbian/pool/main/x/xmountains/ \
@@ -18,12 +18,11 @@ NO_WRKSUBDIR=	yes
 
 USE_XORG=	xbitmaps x11
 
-MAN6=		${PORTNAME}.6
-PLIST_FILES=	bin/${PORTNAME}
+PLIST_FILES=	bin/${PORTNAME} \
+		man/man6/${PORTNAME}.6.gz
 
 CFLAGS+=	-I${LOCALBASE}/include -L${LOCALBASE}/lib
 
-NO_STAGE=	yes
 post-extract:
 	@${LN} -sf ${PORTNAME}.man ${WRKSRC}/${PORTNAME}.6
 
@@ -31,7 +30,7 @@ do-build:
 	cd ${BUILD_WRKSRC} && ${CC} ${CFLAGS} *.c -lX11 -lm -o ${PORTNAME}
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.6 ${MAN6PREFIX}/man/man6
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.6 ${STAGEDIR}${MAN6PREFIX}/man/man6
 
 .include <bsd.port.mk>



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