aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authoritetcu <itetcu@FreeBSD.org>2009-04-05 16:07:48 +0800
committeritetcu <itetcu@FreeBSD.org>2009-04-05 16:07:48 +0800
commit7aec8ce66ffd7d902185fbbb9f87594028a037c6 (patch)
tree955e7db385f4482a449c68908f5e37c3ee4f7997 /misc
parent2a8d0a2f5e7ae400b38b0683e9a4889b43fac79b (diff)
downloadfreebsd-ports-gnome-7aec8ce66ffd7d902185fbbb9f87594028a037c6.tar.gz
freebsd-ports-gnome-7aec8ce66ffd7d902185fbbb9f87594028a037c6.tar.zst
freebsd-ports-gnome-7aec8ce66ffd7d902185fbbb9f87594028a037c6.zip
- 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
Diffstat (limited to 'misc')
-rw-r--r--misc/lifelines/Makefile15
-rw-r--r--misc/lifelines/pkg-plist12
2 files changed, 15 insertions, 12 deletions
diff --git a/misc/lifelines/Makefile b/misc/lifelines/Makefile
index 7075b8d33c02..28ffef72333d 100644
--- a/misc/lifelines/Makefile
+++ b/misc/lifelines/Makefile
@@ -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
+.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:
-.if !defined(NOPORTDOCS)
-.for file in btedit.1 dbverify.1 llines.1
+.for file in ${MAN1}
${INSTALL_MAN} ${WRKSRC}/docs/${file} ${MANPREFIX}/man/man1
.endfor
-.endif
.include <bsd.port.mk>
diff --git a/misc/lifelines/pkg-plist b/misc/lifelines/pkg-plist
index 69da49d45388..189d8ed99b34 100644
--- a/misc/lifelines/pkg-plist
+++ b/misc/lifelines/pkg-plist
@@ -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%%