diff options
author | osa <osa@FreeBSD.org> | 2004-05-05 22:27:50 +0800 |
---|---|---|
committer | osa <osa@FreeBSD.org> | 2004-05-05 22:27:50 +0800 |
commit | aea8f88512c4323acf4c703e38d967ee5cf528dc (patch) | |
tree | 005a23cf14f72943a55694b4175f285fb998adbd /converters | |
parent | 9909689ee754634cbc848c769f1701a5edd57964 (diff) | |
download | freebsd-ports-gnome-aea8f88512c4323acf4c703e38d967ee5cf528dc.tar.gz freebsd-ports-gnome-aea8f88512c4323acf4c703e38d967ee5cf528dc.tar.zst freebsd-ports-gnome-aea8f88512c4323acf4c703e38d967ee5cf528dc.zip |
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)
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%% |