mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-30 05:40:06 +00:00
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)
This commit is contained in:
parent
23eb968364
commit
17e67d2cab
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=108457
@ -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>
|
||||
|
@ -8,8 +8,6 @@ EXENAME = $(EXEDIR)/chmview
|
||||
CFLAGS += -g
|
||||
LFLAGS += -g
|
||||
|
||||
CC = gcc
|
||||
|
||||
all: $(EXENAME)
|
||||
|
||||
OBJS = $(OBJDIR)/chmview.o \
|
||||
|
@ -1,3 +0,0 @@
|
||||
bin/chmview
|
||||
%%DOCSDIR%%/chmformat.html
|
||||
@dirrm %%DOCSDIR%%
|
Loading…
Reference in New Issue
Block a user