forked from Lainports/freebsd-ports
- Install documentation
- Use PLIST_FILES PR: ports/70214 Submitted by: Ulrich Spoerlein Approved by: maintainer
This commit is contained in:
parent
ec1acbbe5b
commit
106bd3daba
2 changed files with 9 additions and 6 deletions
|
|
@ -6,6 +6,7 @@
|
|||
|
||||
PORTNAME= metapixel
|
||||
PORTVERSION= 0.9
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= http://www.complang.tuwien.ac.at/~schani/metapixel/ \
|
||||
http://dragon.roe.ch/mirrors/distfiles/metapixel/
|
||||
|
|
@ -22,6 +23,10 @@ USE_REINPLACE= yes
|
|||
MAKE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include -I." \
|
||||
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
|
||||
|
||||
PLIST_FILES= bin/metapixel bin/metapixel-convert bin/metapixel-imagesize \
|
||||
bin/metapixel-prepare bin/metapixel-sizesort bin/metapixel-zoom
|
||||
PORTDOCS= README
|
||||
|
||||
post-patch:
|
||||
@${RM} ${WRKSRC}/getopt.h
|
||||
@${MV} ${WRKSRC}/sizesort ${WRKSRC}/metapixel-sizesort
|
||||
|
|
@ -35,5 +40,9 @@ do-install:
|
|||
${INSTALL_SCRIPT} ${WRKSRC}/metapixel-prepare ${PREFIX}/bin
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/metapixel-sizesort ${PREFIX}/bin
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/metapixel-zoom ${PREFIX}/bin
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
|||
|
|
@ -1,6 +0,0 @@
|
|||
bin/metapixel
|
||||
bin/metapixel-convert
|
||||
bin/metapixel-imagesize
|
||||
bin/metapixel-prepare
|
||||
bin/metapixel-sizesort
|
||||
bin/metapixel-zoom
|
||||
Loading…
Add table
Reference in a new issue