diff options
author | vs <vs@FreeBSD.org> | 2005-09-27 23:11:53 +0800 |
---|---|---|
committer | vs <vs@FreeBSD.org> | 2005-09-27 23:11:53 +0800 |
commit | fc4a22b9b0b380eb355b7c62fa7ef124cf4917d7 (patch) | |
tree | 453a9512ea79d76c8cb449e5242cd5865db31a39 /archivers/libarc/Makefile | |
parent | b8c97997e15717ad7ea7bb925052ebd16b3e2279 (diff) | |
download | freebsd-ports-gnome-fc4a22b9b0b380eb355b7c62fa7ef124cf4917d7.tar.gz freebsd-ports-gnome-fc4a22b9b0b380eb355b7c62fa7ef124cf4917d7.tar.zst freebsd-ports-gnome-fc4a22b9b0b380eb355b7c62fa7ef124cf4917d7.zip |
Cleanup a bit: Move install-logic into Makefile instead of patching it into port.
Drop static lib while here.
Diffstat (limited to 'archivers/libarc/Makefile')
-rw-r--r-- | archivers/libarc/Makefile | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/archivers/libarc/Makefile b/archivers/libarc/Makefile index 3b7c7ee12b70..e85be38bed34 100644 --- a/archivers/libarc/Makefile +++ b/archivers/libarc/Makefile @@ -14,8 +14,20 @@ MASTER_SITES= http://www.onicos.com/staff/iz/release/ MAINTAINER= ports@FreeBSD.org COMMENT= Tiny C decompression library for several popular compression formats -MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -I." PREFIX="${PREFIX}" LN="${LN} -sf" +SOLIB= libarc.so +SOVERSION= 1 + +MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -I." LN="${LN} -sf" \ + SOLIB="${SOLIB}" SOVERSION="${SOVERSION}" INSTALLS_SHLIB= yes +do-install: + $(INSTALL_PROGRAM) ${WRKSRC}/arccat $(PREFIX)/bin + $(INSTALL_PROGRAM) ${WRKSRC}/$(SOLIB).$(SOVERSION) $(PREFIX)/lib + $(LN) -sf $(PREFIX)/lib/$(SOLIB).$(SOVERSION) $(PREFIX)/lib/$(SOLIB) + @${MKDIR} ${PREFIX}/include/libarc + ${INSTALL_DATA} ${WRKSRC}/libarc/* ${PREFIX}/include/libarc + (cd ${WRKSRC} && $(INSTALL_DATA) unlzh.h zip.h $(PREFIX)/include/libarc) + .include <bsd.port.mk> |