1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00

Library and tools to access the Windows Shortcut File (LNK) Format

WWW: http://code.google.com/p/liblnk/

PR:		ports/174035
Submitted by:	antoine@FreeBSD.org
This commit is contained in:
Pawel Pekala 2012-12-20 17:39:05 +00:00
parent 087d14707c
commit f831299f4c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=309319
5 changed files with 68 additions and 0 deletions

View File

@ -998,6 +998,7 @@
SUBDIR += liblas
SUBDIR += liblcfg
SUBDIR += libleaftag
SUBDIR += liblnk
SUBDIR += liblogging
SUBDIR += liblouis
SUBDIR += liblouisxml

45
devel/liblnk/Makefile Normal file
View File

@ -0,0 +1,45 @@
# Created by: antoine@FreeBSD.org
# $FreeBSD$
PORTNAME= liblnk
PORTVERSION= 20121121
CATEGORIES= devel
MASTER_SITES= GOOGLE_CODE
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
USE_PKGCONFIG= build
USE_GETTEXT= yes
USE_ICONV= yes
USE_PYTHON= yes
USE_LDCONFIG= yes
LDFLAGS+= -L${LOCALBASE}/lib
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
MAN1= lnkinfo.1
MAN3= liblnk.3
OPTIONS_DEFINE= DOCS
PORTDOCS= AUTHORS ChangeLog
post-patch:
@${REINPLACE_CMD} -e 's,$$(libdir)/pkgconfig,@prefix@/libdata/pkgconfig,g' \
${WRKSRC}/Makefile.in
.include <bsd.port.options.mk>
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
.endif
.include <bsd.port.mk>

2
devel/liblnk/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (liblnk-alpha-20121121.tar.gz) = b41e8c7727099c45b449ba2d2c94863e46fee834a94aee9942b666d93a816ba3
SIZE (liblnk-alpha-20121121.tar.gz) = 1246507

3
devel/liblnk/pkg-descr Normal file
View File

@ -0,0 +1,3 @@
Library and tools to access the Windows Shortcut File (LNK) Format
WWW: http://code.google.com/p/liblnk/

17
devel/liblnk/pkg-plist Normal file
View File

@ -0,0 +1,17 @@
bin/lnkinfo
include/liblnk.h
include/liblnk/codepage.h
include/liblnk/definitions.h
include/liblnk/error.h
include/liblnk/extern.h
include/liblnk/features.h
include/liblnk/types.h
lib/liblnk.a
lib/liblnk.la
lib/liblnk.so
lib/liblnk.so.1
%%PYTHON_SITELIBDIR%%/pylnk.a
%%PYTHON_SITELIBDIR%%/pylnk.la
%%PYTHON_SITELIBDIR%%/pylnk.so
libdata/pkgconfig/liblnk.pc
@dirrm include/liblnk