diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 2013-11-08 12:18:12 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 2013-11-08 12:18:12 +0000 |
commit | daaeff772cb10e6c8af47c2a0b4350ed85f27491 (patch) | |
tree | 66a4e8f4c1acc6fd9664835caddcfb06a9063372 /sysutils | |
parent | 1b227f120af4cd2c84dc4303e29a0664acf8de42 (diff) |
Support STAGEDIR, install merged info files.
Notes
Notes:
svn path=/head/; revision=333207
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/am-utils/Makefile | 19 | ||||
-rw-r--r-- | sysutils/am-utils/pkg-plist | 20 |
2 files changed, 30 insertions, 9 deletions
diff --git a/sysutils/am-utils/Makefile b/sysutils/am-utils/Makefile index b7b3fd39841b..4e85f5e7660a 100644 --- a/sysutils/am-utils/Makefile +++ b/sysutils/am-utils/Makefile @@ -23,15 +23,11 @@ OPENLDAP_DESC= OpenLDAP support USE_AUTOTOOLS= libtool USE_LDCONFIG= yes MAKE_JOBS_UNSAFE=yes +CONFIGURE_ENV+= MAKEINFO="makeinfo --no-split" -MAN1= expn.1 pawd.1 -MAN5= amd.conf.5 -MAN8= amd.8 amq.8 automount2amd.8 fixmount.8 fsinfo.8 hlfsd.8 \ - mk-amd-map.8 wire-test.8 INFO= am-utils -PORTDOCS= AUTHORS BUGS FAQ NEWS README.attrcache +DOCS= AUTHORS BUGS FAQ NEWS README.attrcache -NO_STAGE= yes .include <bsd.port.options.mk> .if ${PORT_OPTIONS:MOPENLDAP} @@ -39,15 +35,20 @@ USE_OPENLDAP= yes CONFIGURE_ARGS+=--with-ldap=yes \ --enable-ldflags=-L${LOCALBASE}/lib \ --enable-cppflags=-I${LOCALBASE}/include -PORTDOCS+= README.ldap ldap-id.txt ldap.schema +DOCS+= README.ldap ldap-id.txt ldap.schema +PLIST_SUB+= LDAP_DOC="" .else +PLIST_SUB+= LDAP_DOC="@comment " CONFIGURE_ARGS+=--with-ldap=no .endif +post-patch: + @${RM} ${WRKSRC}/doc/am-utils.info* + post-install: .if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR} .endif .include <bsd.port.mk> diff --git a/sysutils/am-utils/pkg-plist b/sysutils/am-utils/pkg-plist index 802b8f2b3ee9..3caf8317b86d 100644 --- a/sysutils/am-utils/pkg-plist +++ b/sysutils/am-utils/pkg-plist @@ -6,6 +6,17 @@ lib/libamu.a lib/libamu.la lib/libamu.so lib/libamu.so.4 +man/man1/expn.1.gz +man/man1/pawd.1.gz +man/man5/amd.conf.5.gz +man/man8/amd.8.gz +man/man8/amq.8.gz +man/man8/automount2amd.8.gz +man/man8/fixmount.8.gz +man/man8/fsinfo.8.gz +man/man8/hlfsd.8.gz +man/man8/mk-amd-map.8.gz +man/man8/wire-test.8.gz sbin/am-eject sbin/amd sbin/amd2ldif @@ -24,3 +35,12 @@ sbin/mk-amd-map sbin/wait4amd sbin/wait4amd2die sbin/wire-test +%%PORTDOCS%%%%DOCSDIR%%/AUTHORS +%%PORTDOCS%%%%DOCSDIR%%/BUGS +%%PORTDOCS%%%%DOCSDIR%%/FAQ +%%PORTDOCS%%%%DOCSDIR%%/NEWS +%%PORTDOCS%%%%DOCSDIR%%/README.attrcache +%%LDAP_DOC%%%%PORTDOCS%%%%DOCSDIR%%/README.ldap +%%LDAP_DOC%%%%PORTDOCS%%%%DOCSDIR%%/ldap-id.txt +%%LDAP_DOC%%%%PORTDOCS%%%%DOCSDIR%%/ldap.schema +%%PORTDOCS%%@dirrm %%DOCSDIR%% |