1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

- use SF macro

- fix plist with -DNOPORTOCS
- install man pages irrespective of NOPORTDOCS
- use some dirrmtry in plist for locate dirs that might contain files istalled
by other ports
- bump PORTREVISION

Prompted by:	QAT QA run
Approved by:	maintainer timeout on QATMails
This commit is contained in:
Ion-Mihai Tetcu 2009-04-05 08:07:48 +00:00
parent db41d1e04b
commit 241cf7de07
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=231631
2 changed files with 18 additions and 15 deletions

View File

@ -7,10 +7,9 @@
PORTNAME= lifelines
PORTVERSION= 3.0.50
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= misc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MASTER_SITES= SF
MAINTAINER= matt@gsicomp.on.ca
COMMENT= An advanced genealogical system
@ -33,12 +32,16 @@ PLIST_SUB+= NLS="@comment "
post-patch:
@${REINPLACE_CMD} -e 's,ncursesw/curses.h,curses.h,' \
${WRKSRC}/src/hdrs/mycurses.h
post-install:
.if !defined(NOPORTDOCS)
.for file in btedit.1 dbverify.1 llines.1
${INSTALL_MAN} ${WRKSRC}/docs/${file} ${MANPREFIX}/man/man1
.endfor
.ifdef NOPORTDOCS
@${REINPLACE_CMD} -e 's,install-data-am: install-docDATA,install-data-am:,' \
${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e 's,install-data-am: install-dist_pkgdataDATA install-docDATA install-man,install-data-am: install-dist_pkgdataDATA,' \
${WRKSRC}/docs/Makefile.in
.endif
post-install:
.for file in ${MAN1}
${INSTALL_MAN} ${WRKSRC}/docs/${file} ${MANPREFIX}/man/man1
.endfor
.include <bsd.port.mk>

View File

@ -267,11 +267,11 @@ bin/llines
%%NLS%%share/locale/pl/LC_MESSAGES/lifelines.mo
%%NLS%%share/locale/rw/LC_MESSAGES/lifelines.mo
%%NLS%%share/locale/sv/LC_MESSAGES/lifelines.mo
@dirrm %%NLS%%share/locale/rw/LC_MESSAGES
@dirrm %%NLS%%share/locale/rw
@dirrm %%NLS%%share/locale/pl/LC_MESSAGES
@dirrm %%NLS%%share/locale/pl
@dirrm %%NLS%%share/locale/el/LC_MESSAGES
@dirrm %%NLS%%share/locale/el
%%NLS%%@dirrmtry share/locale/el/LC_MESSAGES
%%NLS%%@dirrmtry share/locale/el
%%NLS%%@dirrmtry share/locale/pl/LC_MESSAGES
%%NLS%%@dirrmtry share/locale/pl
%%NLS%%@dirrmtry share/locale/rw/LC_MESSAGES
%%NLS%%@dirrmtry share/locale/rw
@dirrm %%DATADIR%%
%%PORTDOCS%%@dirrm %%DOCSDIR%%