diff options
author | Sergey A. Osokin <osa@FreeBSD.org> | 2004-05-05 14:27:50 +0000 |
---|---|---|
committer | Sergey A. Osokin <osa@FreeBSD.org> | 2004-05-05 14:27:50 +0000 |
commit | 17e67d2cab14d864c22da473f809d4f370b97154 (patch) | |
tree | 1377922f9c8cfcd53220982dcc23418f4aeb2871 /converters | |
parent | Globus2 is not actually broken on 4.x. (diff) |
Respect CC flag.
Move pkg files from pkg-plist to Makefile, then remove pkg-plist.
Use NOPORTDOCS macro.
Bump PORTREVISION.
Approved by: Alex Semenyaka <alex@rinet.ru> (maintainer)
Notes
Notes:
svn path=/head/; revision=108457
Diffstat (limited to 'converters')
-rw-r--r-- | converters/chmview/Makefile | 11 | ||||
-rw-r--r-- | converters/chmview/files/Makefile | 2 | ||||
-rw-r--r-- | converters/chmview/pkg-plist | 3 |
3 files changed, 7 insertions, 9 deletions
diff --git a/converters/chmview/Makefile b/converters/chmview/Makefile index 496962710292..031e786326a9 100644 --- a/converters/chmview/Makefile +++ b/converters/chmview/Makefile @@ -7,7 +7,7 @@ PORTNAME= chmview PORTVERSION= 1.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= converters textproc MASTER_SITES= http://trexinc.narod.ru/myprogs/files/ DISTNAME= chmview @@ -18,15 +18,18 @@ COMMENT= Extractor from .chm files USE_ZIP= yes WRKSRC= ${WRKDIR}/src +PLIST_FILES= bin/chmview +PORTDOCS= chmformat.html pre-patch: @${SH} ${FILESDIR}/convert.sh ${WRKSRC} @${CP} ${FILESDIR}/Makefile ${WRKSRC} do-install: - -@${MKDIR} ${PREFIX}/bin - @${INSTALL_PROGRAM} ${WRKSRC}/chmview ${PREFIX}/bin/chmview + @${INSTALL_PROGRAM} ${WRKSRC}/chmview ${PREFIX}/bin/ +.if !defined(NOPORTDOCS) -@${MKDIR} ${DOCSDIR} - @${INSTALL_DATA} ${WRKSRC}/chmformat.html ${DOCSDIR} + @${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}/ +.endif .include <bsd.port.mk> diff --git a/converters/chmview/files/Makefile b/converters/chmview/files/Makefile index ba2ef5f64d94..2512ed0131ed 100644 --- a/converters/chmview/files/Makefile +++ b/converters/chmview/files/Makefile @@ -8,8 +8,6 @@ EXENAME = $(EXEDIR)/chmview CFLAGS += -g LFLAGS += -g -CC = gcc - all: $(EXENAME) OBJS = $(OBJDIR)/chmview.o \ diff --git a/converters/chmview/pkg-plist b/converters/chmview/pkg-plist deleted file mode 100644 index e046d8cd082b..000000000000 --- a/converters/chmview/pkg-plist +++ /dev/null @@ -1,3 +0,0 @@ -bin/chmview -%%DOCSDIR%%/chmformat.html -@dirrm %%DOCSDIR%% |