1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Add stage support

PR:		ports/190845
Submitted by:	Jim Pirzyk <pirzyk@FreeBSD.org>
This commit is contained in:
Danilo Egea Gondolfo 2014-06-11 14:53:06 +00:00
parent 9f8b4bcde3
commit 0f027f151e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=357487
2 changed files with 48 additions and 54 deletions

View File

@ -13,60 +13,14 @@ COMMENT= New PH Client and API Library
HAS_CONFIGURE= YES HAS_CONFIGURE= YES
CONFIGURE_ARGS= --disable-encap --disable-epkg-install CONFIGURE_ARGS= --disable-encap --disable-epkg-install
MANCOMPRESSED= no
MAN1= nph.1
MAN3= ph_add.3 \
ph_advertised_email.3 \
ph_advertised_www.3 \
ph_change.3 \
ph_close.3 \
ph_decode_field_attributes.3 \
ph_delete.3 \
ph_email_resolve.3 \
ph_encode_selector.3 \
ph_external.3 \
ph_fieldinfo_iterate.3 \
ph_free_entries.3 \
ph_free_selectors.3 \
ph_free_serverlist.3 \
ph_get_fieldinfo.3 \
ph_get_option.3 \
ph_get_siteinfo.3 \
ph_id.3 \
ph_login.3 \
ph_logout.3 \
ph_open.3 \
ph_option_iterate.3 \
ph_passwd.3 \
ph_query.3 \
ph_retrieve_fieldinfo.3 \
ph_retrieve_options.3 \
ph_retrieve_siteinfo.3 \
ph_rfd.3 \
ph_serverlist_add.3 \
ph_serverlist_iterate.3 \
ph_serverlist_merge.3 \
ph_set_hookdata.3 \
ph_set_option.3 \
ph_set_recvhook.3 \
ph_set_sendhook.3 \
ph_siteinfo_iterate.3 \
ph_status.3 \
ph_suser.3 \
ph_wfd.3 \
ph_whoami.3 \
ph_www_resolve.3
NO_STAGE= yes
do-install: do-install:
@(cd ${BUILD_WRKSRC}; ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} install-recurse) @(cd ${BUILD_WRKSRC}; ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} install-recurse)
-@${MKDIR} ${PREFIX}/etc -@${MKDIR} ${STAGEDIR}${PREFIX}/etc
@${CP} ${WRKSRC}/nphrc ${PREFIX}/etc/nphrc.sample @${CP} ${BUILD_WRKSRC}/nphrc ${STAGEDIR}${PREFIX}/etc/nphrc.sample
PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL PKG_PREFIX=${STAGEDIR}${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
post-clean: post-clean:
@${RM} -f ${PREFIX}/etc/ph_server @${RM} -f ${STAGEDIR}${PREFIX}/etc/ph_server
.include <bsd.port.mk> .include <bsd.port.mk>

View File

@ -1,7 +1,47 @@
@unexec cmp %D/etc/nphrc.sample %D/etc/nphrc && rm %D/etc/nphrc @sample etc/nphrc.sample
@unexec cmp %D/etc/ph_server.sample %D/etc/ph_server && rm %D/etc/ph_server @sample etc/ph_server.sample
bin/nph bin/nph
etc/nphrc.sample
etc/ph_server.sample
include/phclient.h include/phclient.h
lib/libphclient.a lib/libphclient.a
man/man1/nph.1.gz
man/man3/ph_add.3.gz
man/man3/ph_advertised_email.3.gz
man/man3/ph_advertised_www.3.gz
man/man3/ph_change.3.gz
man/man3/ph_close.3.gz
man/man3/ph_decode_field_attributes.3.gz
man/man3/ph_delete.3.gz
man/man3/ph_email_resolve.3.gz
man/man3/ph_encode_selector.3.gz
man/man3/ph_external.3.gz
man/man3/ph_fieldinfo_iterate.3.gz
man/man3/ph_free_entries.3.gz
man/man3/ph_free_selectors.3.gz
man/man3/ph_free_serverlist.3.gz
man/man3/ph_get_fieldinfo.3.gz
man/man3/ph_get_option.3.gz
man/man3/ph_get_siteinfo.3.gz
man/man3/ph_id.3.gz
man/man3/ph_login.3.gz
man/man3/ph_logout.3.gz
man/man3/ph_open.3.gz
man/man3/ph_option_iterate.3.gz
man/man3/ph_passwd.3.gz
man/man3/ph_query.3.gz
man/man3/ph_retrieve_fieldinfo.3.gz
man/man3/ph_retrieve_options.3.gz
man/man3/ph_retrieve_siteinfo.3.gz
man/man3/ph_rfd.3.gz
man/man3/ph_serverlist_add.3.gz
man/man3/ph_serverlist_iterate.3.gz
man/man3/ph_serverlist_merge.3.gz
man/man3/ph_set_hookdata.3.gz
man/man3/ph_set_option.3.gz
man/man3/ph_set_recvhook.3.gz
man/man3/ph_set_sendhook.3.gz
man/man3/ph_siteinfo_iterate.3.gz
man/man3/ph_status.3.gz
man/man3/ph_suser.3.gz
man/man3/ph_wfd.3.gz
man/man3/ph_whoami.3.gz
man/man3/ph_www_resolve.3.gz