freebsd-ports/devel/liblnk/Makefile
Rene Ladan 50f8eaece1 Python cleanup:
- USE_PYTHON* = 2.X -> USE_PYTHON* = 2
- USE_PYTHON* = 2.X+ -> USE_PYTHON* = yes
Reviewed by:	python (mva, rm)
Approved by:	portmgr-lurkers (mat)
2014-01-13 21:00:02 +00:00

35 lines
852 B
Makefile

# Created by: Antoine Brodin <antoine@FreeBSD.org>
# $FreeBSD$
PORTNAME= liblnk
PORTVERSION= 20140112
CATEGORIES= devel
MASTER_SITES= https://googledrive.com/host/0B3fBvzttpiiSQmluVC1YeDVvZWM/ \
LOCAL/antoine
DISTNAME= ${PORTNAME}-alpha-${PORTVERSION}
MAINTAINER= antoine@FreeBSD.org
COMMENT= Library and tools to access the Windows shortcut file (LNK) format
LICENSE= LGPL3
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-python --with-libintl-prefix=${LOCALBASE} ${ICONV_CONFIGURE_ARG}
USES= gettext iconv pathfix
USE_PYTHON= 2
USE_LDCONFIG= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
PORTDOCS= AUTHORS ChangeLog
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>