diff options
author | danilo <danilo@FreeBSD.org> | 2014-06-11 22:53:06 +0800 |
---|---|---|
committer | danilo <danilo@FreeBSD.org> | 2014-06-11 22:53:06 +0800 |
commit | 7eccc3ee5f7b0560d1644f802220b5e05e1a2e8a (patch) | |
tree | 0cc991cc4f5095d09705357d07c58253ec13c239 /net/nph | |
parent | 67f12d415fec83113a7ddfbc9655db98b4e70a28 (diff) | |
download | freebsd-ports-gnome-7eccc3ee5f7b0560d1644f802220b5e05e1a2e8a.tar.gz freebsd-ports-gnome-7eccc3ee5f7b0560d1644f802220b5e05e1a2e8a.tar.zst freebsd-ports-gnome-7eccc3ee5f7b0560d1644f802220b5e05e1a2e8a.zip |
- Add stage support
PR: ports/190845
Submitted by: Jim Pirzyk <pirzyk@FreeBSD.org>
Diffstat (limited to 'net/nph')
-rw-r--r-- | net/nph/Makefile | 54 | ||||
-rw-r--r-- | net/nph/pkg-plist | 48 |
2 files changed, 48 insertions, 54 deletions
diff --git a/net/nph/Makefile b/net/nph/Makefile index 366ee8047186..6a1497fdae9c 100644 --- a/net/nph/Makefile +++ b/net/nph/Makefile @@ -13,60 +13,14 @@ COMMENT= New PH Client and API Library HAS_CONFIGURE= YES 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: @(cd ${BUILD_WRKSRC}; ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} install-recurse) - -@${MKDIR} ${PREFIX}/etc - @${CP} ${WRKSRC}/nphrc ${PREFIX}/etc/nphrc.sample - PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL + -@${MKDIR} ${STAGEDIR}${PREFIX}/etc + @${CP} ${BUILD_WRKSRC}/nphrc ${STAGEDIR}${PREFIX}/etc/nphrc.sample + PKG_PREFIX=${STAGEDIR}${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL post-clean: - @${RM} -f ${PREFIX}/etc/ph_server + @${RM} -f ${STAGEDIR}${PREFIX}/etc/ph_server .include <bsd.port.mk> diff --git a/net/nph/pkg-plist b/net/nph/pkg-plist index 7a7b62ca96e8..074e9d29d5e3 100644 --- a/net/nph/pkg-plist +++ b/net/nph/pkg-plist @@ -1,7 +1,47 @@ -@unexec cmp %D/etc/nphrc.sample %D/etc/nphrc && rm %D/etc/nphrc -@unexec cmp %D/etc/ph_server.sample %D/etc/ph_server && rm %D/etc/ph_server +@sample etc/nphrc.sample +@sample etc/ph_server.sample bin/nph -etc/nphrc.sample -etc/ph_server.sample include/phclient.h 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 |