Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Jan 2014 01:29:30 +0000 (UTC)
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r338968 - head/sysutils/asusoled
Message-ID:  <201401070129.s071TUO3045213@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jkim
Date: Tue Jan  7 01:29:30 2014
New Revision: 338968
URL: http://svnweb.freebsd.org/changeset/ports/338968

Log:
  Add license and stagefy.

Modified:
  head/sysutils/asusoled/Makefile

Modified: head/sysutils/asusoled/Makefile
==============================================================================
--- head/sysutils/asusoled/Makefile	Tue Jan  7 01:27:22 2014	(r338967)
+++ head/sysutils/asusoled/Makefile	Tue Jan  7 01:29:30 2014	(r338968)
@@ -11,6 +11,8 @@ MASTER_SITE_SUBDIR=	jkim
 MAINTAINER=	jkim@FreeBSD.org
 COMMENT=	Utility for ASUS USB OLED Display
 
+LICENSE=	GPLv2
+
 RUN_DEPENDS=	${FONTDIR}/TTF/luxisr.ttf:${PORTSDIR}/x11-fonts/font-bh-ttf
 
 USE_SDL=	image sdl ttf
@@ -25,25 +27,21 @@ MAKE_ARGS+=	TTF_FONT=${FONTDIR}/TTF/luxi
 
 FONTDIR?=	${LOCALBASE}/lib/X11/fonts
 
-NO_STAGE=	yes
+OPTIONS_DEFINE=	DOCS
+
 .include <bsd.port.options.mk>
 
-post-install:
+do-install:
+	@${INSTALL_PROGRAM} ${WRKSRC}/asusoled ${STAGEDIR}${PREFIX}/sbin
 .if !defined(NOPORTDATA)
-	@${MKDIR} ${DATADIR}
+	@${MKDIR} ${STAGEDIR}${DATADIR}
 .for i in ${PORTDATA}
-	@${INSTALL_DATA} ${WRKSRC}/data/${i} ${DATADIR}
+	@${INSTALL_DATA} ${WRKSRC}/data/${i} ${STAGEDIR}${DATADIR}
 .endfor
 .endif
 .if ${PORT_OPTIONS:MDOCS}
-	@${CAT} ${PKGMESSAGE} > ${WRKSRC}/README.FreeBSD
-	@${MKDIR} ${DOCSDIR}
-.for i in ${PORTDOCS}
-	@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
-.endfor
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	@${INSTALL_DATA} ${PKGMESSAGE} ${STAGEDIR}${DOCSDIR}/README.FreeBSD
 .endif
-	@${ECHO}
-	@${CAT} ${PKGMESSAGE}
-	@${ECHO}
 
 .include <bsd.port.mk>



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