- Add staging support
- Convert to new LIB_DEPENDS format, options framework
This commit is contained in:
parent
c91752f4ee
commit
e7a3a67944
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=357661
@ -11,14 +11,14 @@ PKGNAMESUFFIX?= -tools
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Metalink generation tool
|
||||
|
||||
LIB_DEPENDS= gcrypt:${PORTSDIR}/security/libgcrypt \
|
||||
glibmm-2.4.1:${PORTSDIR}/devel/glibmm \
|
||||
gpg-error.0:${PORTSDIR}/security/libgpg-error \
|
||||
sigc-2.0.0:${PORTSDIR}/devel/libsigc++20
|
||||
|
||||
LICENSE= GPLv3
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
LIB_DEPENDS= libgcrypt.so:${PORTSDIR}/security/libgcrypt \
|
||||
libglibmm-2.4.so:${PORTSDIR}/devel/glibmm \
|
||||
libgpg-error.so:${PORTSDIR}/security/libgpg-error \
|
||||
libsigc-2.0.so:${PORTSDIR}/devel/libsigc++20
|
||||
|
||||
USE_GNOME= glib20
|
||||
GNU_CONFIGURE= yes
|
||||
USES= pkgconfig
|
||||
@ -26,25 +26,14 @@ CONFIGURE_ENV+= AWK="${AWK}"
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
|
||||
# Documents to install
|
||||
DOC_FILES= \
|
||||
README
|
||||
|
||||
.ifndef(NOPORTDOCS)
|
||||
PORTDOCS= *
|
||||
.endif
|
||||
|
||||
PORTDOCS= README
|
||||
PLIST_FILES= bin/${PORTNAME}
|
||||
|
||||
NO_STAGE= yes
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
do-install:
|
||||
# docs
|
||||
.ifndef(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
.for file in ${DOC_FILES}
|
||||
@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
||||
.endfor
|
||||
.endif
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user