svn commit: r353510 - in head/japanese/lipsf: . files
Pawel Pekala
pawel at FreeBSD.org
Fri May 9 20:01:06 UTC 2014
Author: pawel
Date: Fri May 9 20:01:05 2014
New Revision: 353510
URL: http://svnweb.freebsd.org/changeset/ports/353510
QAT: https://qat.redports.org/buildarchive/r353510/
Log:
- Add staging support
- Switch to PLIST_FILES
- Define DOCS option
Deleted:
head/japanese/lipsf/pkg-plist
Modified:
head/japanese/lipsf/Makefile
head/japanese/lipsf/files/patch-ac
Modified: head/japanese/lipsf/Makefile
==============================================================================
--- head/japanese/lipsf/Makefile Fri May 9 19:59:16 2014 (r353509)
+++ head/japanese/lipsf/Makefile Fri May 9 20:01:05 2014 (r353510)
@@ -13,16 +13,13 @@ COMMENT= Text to LIPS filter
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:S/.//}
-MANLANG= ja
-MAN1= lipsf.1 pols.1
+PLIST_FILES= bin/lipsf bin/pols man/ja/man1/lipsf.1.gz man/ja/man1/pols.1.gz
+PORTDOCS= HISTORY Install README TECHKNOW
+
+OPTIONS_DEFINE= DOCS
-NO_STAGE= yes
post-install:
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
-.for file in HISTORY Install README TECHKNOW
- ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
-.endfor
-.endif
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
Modified: head/japanese/lipsf/files/patch-ac
==============================================================================
--- head/japanese/lipsf/files/patch-ac Fri May 9 19:59:16 2014 (r353509)
+++ head/japanese/lipsf/files/patch-ac Fri May 9 20:01:05 2014 (r353510)
@@ -39,10 +39,10 @@
- $(CHMOD) a+r $(MANDIR)/$(LIPSFB).$(MANSEC)
- $(INSTALL) $(POLS).$(MANSEC) $(MANDIR)/$(POLS).$(MANSEC)
- $(CHMOD) a+r $(MANDIR)/$(POLSB).$(MANSEC)
-+ ${BSD_INSTALL_PROGRAM} $(LIPSFB) $(BINDIR)
-+ ${BSD_INSTALL_PROGRAM} $(POLSB) $(BINDIR)
-+ ${BSD_INSTALL_MAN} $(LIPSF).$(MANSEC) $(MANDIR)/$(LIPSF).$(MANSEC)
-+ ${BSD_INSTALL_MAN} $(POLS).$(MANSEC) $(MANDIR)/$(POLS).$(MANSEC)
++ ${BSD_INSTALL_PROGRAM} $(LIPSFB) $(DESTDIR)$(BINDIR)
++ ${BSD_INSTALL_PROGRAM} $(POLSB) $(DESTDIR)$(BINDIR)
++ ${BSD_INSTALL_MAN} $(LIPSF).$(MANSEC) $(DESTDIR)$(MANDIR)/$(LIPSF).$(MANSEC)
++ ${BSD_INSTALL_MAN} $(POLS).$(MANSEC) $(DESTDIR)$(MANDIR)/$(POLS).$(MANSEC)
catman: $(LIPSF).$(MANSEC)c $(POLS).$(MANSEC)c
$(INSTALL) $(LIPSF).$(MANSEC)c $(CATDIR)/$(LIPSF).$(MANSEC)
More information about the svn-ports-all
mailing list