diff options
author | Kevin Lo <kevlo@FreeBSD.org> | 2013-08-08 09:45:09 +0000 |
---|---|---|
committer | Kevin Lo <kevlo@FreeBSD.org> | 2013-08-08 09:45:09 +0000 |
commit | 70c0e32987edf8177d5874e2cecb5b2b1beec579 (patch) | |
tree | c85ab3e404fd81b0f32b5c7c3ce6d908514c10cb /sysutils/ipad_charge | |
parent | a90e4048b3aa8cfae3d4732e67cdd3a37c5e9bfc (diff) | |
download | ports-70c0e32987edf8177d5874e2cecb5b2b1beec579.tar.gz ports-70c0e32987edf8177d5874e2cecb5b2b1beec579.zip |
Notes
Diffstat (limited to 'sysutils/ipad_charge')
-rw-r--r-- | sysutils/ipad_charge/Makefile | 18 | ||||
-rw-r--r-- | sysutils/ipad_charge/files/pkg-message.in (renamed from sysutils/ipad_charge/pkg-message) | 0 |
2 files changed, 7 insertions, 11 deletions
diff --git a/sysutils/ipad_charge/Makefile b/sysutils/ipad_charge/Makefile index 20e9daeb72cd..e2197d3f5266 100644 --- a/sysutils/ipad_charge/Makefile +++ b/sysutils/ipad_charge/Makefile @@ -10,22 +10,18 @@ COMMENT= Generic iPad USB charging utility LICENSE= BSD +PLIST_FILES= etc/devd/ipad_charge.conf USE_RC_SUBR= ipad_charge +SUB_FILES= ipad_charge.conf pkg-message NO_BUILD= yes -.include <bsd.port.pre.mk> - -.if ${OSVERSION} < 800000 -IGNORE= requires FreeBSD 8.0-RELEASE or later -.endif - do-install: + @${MKDIR} ${PREFIX}/etc/devd + @${INSTALL_DATA} ${WRKDIR}/ipad_charge.conf ${PREFIX}/etc/devd post-install: - @${MKDIR} ${PREFIX}/etc/devd - @${SED} -e "s|%%PREFIX%%|${PREFIX}|g" \ - < ${FILESDIR}/ipad_charge.conf.in > ${WRKDIR}/ipad_charge.conf - ${INSTALL_DATA} "${WRKDIR}/ipad_charge.conf" ${PREFIX}/etc/devd + @${ECHO_MSG} @${CAT} ${PKGMESSAGE} + @${ECHO_MSG} -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/sysutils/ipad_charge/pkg-message b/sysutils/ipad_charge/files/pkg-message.in index 2d6b51f67973..2d6b51f67973 100644 --- a/sysutils/ipad_charge/pkg-message +++ b/sysutils/ipad_charge/files/pkg-message.in |