diff options
author | Jung-uk Kim <jkim@FreeBSD.org> | 2014-01-07 01:29:30 +0000 |
---|---|---|
committer | Jung-uk Kim <jkim@FreeBSD.org> | 2014-01-07 01:29:30 +0000 |
commit | dbeac1bf7dda45b447f4555bb8d16498a8e61643 (patch) | |
tree | 06dba4bea44a352e2a644b1d30a32bfc013cdec3 /sysutils | |
parent | 06a4db4df26fdfeb689f7352df48d424a910a72d (diff) | |
download | ports-dbeac1bf7dda45b447f4555bb8d16498a8e61643.tar.gz ports-dbeac1bf7dda45b447f4555bb8d16498a8e61643.zip |
Notes
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> |