diff options
author | jkim <jkim@FreeBSD.org> | 2014-01-07 09:29:30 +0800 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2014-01-07 09:29:30 +0800 |
commit | a49b4f69ed22c5a5eb97463c8ca564b424420e88 (patch) | |
tree | 06dba4bea44a352e2a644b1d30a32bfc013cdec3 /sysutils | |
parent | ec9bd6675c5d2b57138f809d1888c2fa8afec778 (diff) | |
download | freebsd-ports-gnome-a49b4f69ed22c5a5eb97463c8ca564b424420e88.tar.gz freebsd-ports-gnome-a49b4f69ed22c5a5eb97463c8ca564b424420e88.tar.zst freebsd-ports-gnome-a49b4f69ed22c5a5eb97463c8ca564b424420e88.zip |
Add license and stagefy.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/asusoled/Makefile | 22 |
1 files changed, 10 insertions, 12 deletions
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 <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> |