aboutsummaryrefslogtreecommitdiff
path: root/misc/lifelines
diff options
context:
space:
mode:
authorIon-Mihai Tetcu <itetcu@FreeBSD.org>2009-04-05 08:07:48 +0000
committerIon-Mihai Tetcu <itetcu@FreeBSD.org>2009-04-05 08:07:48 +0000
commit241cf7de076e72cf5fb9606e6e9328965575b54a (patch)
tree4db26293bb4e100329445382fb2b8de92bc3235d /misc/lifelines
parentdb41d1e04b52d8d6705dcd13062bad33e57c30b4 (diff)
downloadports-241cf7de076e72cf5fb9606e6e9328965575b54a.tar.gz
ports-241cf7de076e72cf5fb9606e6e9328965575b54a.zip
Notes
Diffstat (limited to 'misc/lifelines')
-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%%