Index: Makefile =================================================================== RCS file: /home/pcvs/ports/editors/hnb/Makefile,v retrieving revision 1.6 diff -u -r1.6 Makefile --- Makefile 7 Mar 2003 06:00:29 -0000 1.6 +++ Makefile 6 Apr 2003 17:48:13 -0000 @@ -6,7 +6,7 @@ # PORTNAME= hnb -PORTVERSION= 1.9.8 +PORTVERSION= 1.9.17 CATEGORIES= editors MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -15,13 +15,24 @@ COMMENT= Hierarchical NoteBook a data organizer WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src +USE_REINPLACE= yes USE_GMAKE= yes ALL_TARGET= MAN1= hnb.1 +post-patch: + @${REINPLACE_CMD} -e 's|^CFLAGS=|CFLAGS+=|' ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e '/^CFLAGS/d' ${WRKSRC}/libcli/Makefile + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/hnb ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/../doc/hnb.1 ${MANPREFIX}/man/man1 +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} +.for FILE in Documentation.hnb Documentation.html hnbrc + ${INSTALL_DATA} ${WRKSRC}/../doc/${FILE} ${DOCSDIR} +.endfor +.endif .include Index: distinfo =================================================================== RCS file: /home/pcvs/ports/editors/hnb/distinfo,v retrieving revision 1.4 diff -u -r1.4 distinfo --- distinfo 14 Feb 2003 20:41:08 -0000 1.4 +++ distinfo 6 Apr 2003 17:48:13 -0000 @@ -1 +1 @@ -MD5 (hnb-1.9.8.tar.gz) = f571f61a0c4f65d9f8a3669234490f42 +MD5 (hnb-1.9.17.tar.gz) = c73b5f63d8ffe1976c915c1f8265951d Index: pkg-plist =================================================================== RCS file: /home/pcvs/ports/editors/hnb/pkg-plist,v retrieving revision 1.1 diff -u -r1.1 pkg-plist --- pkg-plist 6 Jul 2001 16:19:07 -0000 1.1 +++ pkg-plist 6 Apr 2003 17:48:13 -0000 @@ -1 +1,5 @@ bin/hnb +%%PORTDOCS%%share/doc/hnb/Documentation.hnb +%%PORTDOCS%%share/doc/hnb/Documentation.html +%%PORTDOCS%%share/doc/hnb/hnbrc +%%PORTDOCS%%@dirrm share/doc/hnb/