Support stage
Remove useless .pre.mk/.post.mk modernize LIB_DEPENDS
This commit is contained in:
parent
585d077324
commit
ed825c6c42
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=340161
1 changed files with 6 additions and 12 deletions
|
@ -10,11 +10,11 @@ MASTER_SITES= GOOGLE_CODE
|
|||
MAINTAINER= hiroto.kagotani@gmail.com
|
||||
COMMENT= C library for efficient image processing and image analysis operations
|
||||
|
||||
LIB_DEPENDS= gif:${PORTSDIR}/graphics/giflib \
|
||||
jpeg:${PORTSDIR}/graphics/jpeg \
|
||||
png15:${PORTSDIR}/graphics/png \
|
||||
tiff:${PORTSDIR}/graphics/tiff \
|
||||
webp:${PORTSDIR}/graphics/webp
|
||||
LIB_DEPENDS= libgif.so:${PORTSDIR}/graphics/giflib \
|
||||
libjpeg.so:${PORTSDIR}/graphics/jpeg \
|
||||
libpng15.so:${PORTSDIR}/graphics/png \
|
||||
libtiff.so:${PORTSDIR}/graphics/tiff \
|
||||
libwebp.so:${PORTSDIR}/graphics/webp
|
||||
|
||||
CONFLICTS= leptonlib-[0-9]*
|
||||
|
||||
|
@ -23,9 +23,6 @@ USE_LDCONFIG= yes
|
|||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
TESTS?= generate compare
|
||||
.if defined(MAINTAINER_MODE) || defined(PACKAGE_BUILDING)
|
||||
BUILD_DEPENDS+= ${LOCALBASE}/bin/gnuplot:${PORTSDIR}/math/gnuplot
|
||||
|
@ -43,7 +40,4 @@ check regression-test test: build
|
|||
${WRKSRC}/prog/alltests_reg ${c}
|
||||
.endfor
|
||||
|
||||
post-install:
|
||||
${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Reference in a new issue