From a49b4f69ed22c5a5eb97463c8ca564b424420e88 Mon Sep 17 00:00:00 2001 From: jkim Date: Tue, 7 Jan 2014 01:29:30 +0000 Subject: Add license and stagefy. --- sysutils/asusoled/Makefile | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) (limited to 'sysutils') diff --git a/sysutils/asusoled/Makefile b/sysutils/asusoled/Makefile index f0b376927c10..a0c394dca5f3 100644 --- a/sysutils/asusoled/Makefile +++ b/sysutils/asusoled/Makefile @@ -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/luxisr.ttf FONTDIR?= ${LOCALBASE}/lib/X11/fonts -NO_STAGE= yes +OPTIONS_DEFINE= DOCS + .include -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 -- cgit