diff options
author | pawel <pawel@FreeBSD.org> | 2012-12-21 01:39:05 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2012-12-21 01:39:05 +0800 |
commit | 8f7dffbdf410d8815f199a41fc2b88fa6fa32d8e (patch) | |
tree | f6ed4ed6658ab23e0078451b044474b920da3a21 | |
parent | dea82da62fd51f18a258df0a4751057957619240 (diff) | |
download | freebsd-ports-gnome-8f7dffbdf410d8815f199a41fc2b88fa6fa32d8e.tar.gz freebsd-ports-gnome-8f7dffbdf410d8815f199a41fc2b88fa6fa32d8e.tar.zst freebsd-ports-gnome-8f7dffbdf410d8815f199a41fc2b88fa6fa32d8e.zip |
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
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/liblnk/Makefile | 45 | ||||
-rw-r--r-- | devel/liblnk/distinfo | 2 | ||||
-rw-r--r-- | devel/liblnk/pkg-descr | 3 | ||||
-rw-r--r-- | devel/liblnk/pkg-plist | 17 |
5 files changed, 68 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 013de4972aaa..c64054abf572 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -998,6 +998,7 @@ SUBDIR += liblas SUBDIR += liblcfg SUBDIR += libleaftag + SUBDIR += liblnk SUBDIR += liblogging SUBDIR += liblouis SUBDIR += liblouisxml diff --git a/devel/liblnk/Makefile b/devel/liblnk/Makefile new file mode 100644 index 000000000000..a5e2767bf4c0 --- /dev/null +++ b/devel/liblnk/Makefile @@ -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> diff --git a/devel/liblnk/distinfo b/devel/liblnk/distinfo new file mode 100644 index 000000000000..eed995bd577b --- /dev/null +++ b/devel/liblnk/distinfo @@ -0,0 +1,2 @@ +SHA256 (liblnk-alpha-20121121.tar.gz) = b41e8c7727099c45b449ba2d2c94863e46fee834a94aee9942b666d93a816ba3 +SIZE (liblnk-alpha-20121121.tar.gz) = 1246507 diff --git a/devel/liblnk/pkg-descr b/devel/liblnk/pkg-descr new file mode 100644 index 000000000000..8531b9b8281b --- /dev/null +++ b/devel/liblnk/pkg-descr @@ -0,0 +1,3 @@ +Library and tools to access the Windows Shortcut File (LNK) Format + +WWW: http://code.google.com/p/liblnk/ diff --git a/devel/liblnk/pkg-plist b/devel/liblnk/pkg-plist new file mode 100644 index 000000000000..7f6744a32dbd --- /dev/null +++ b/devel/liblnk/pkg-plist @@ -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 |