diff options
author | danfe <danfe@FreeBSD.org> | 2011-08-31 23:11:02 +0800 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2011-08-31 23:11:02 +0800 |
commit | 7525d868d2e5a305682fa7349ce854e30c7db244 (patch) | |
tree | 3d08a2495e14d45e3e1a452f3c73672b674c44a5 /archivers/dzip | |
parent | bcd47e11c0dc8607a6c175f525921746e08b1176 (diff) | |
download | freebsd-ports-gnome-7525d868d2e5a305682fa7349ce854e30c7db244.tar.gz freebsd-ports-gnome-7525d868d2e5a305682fa7349ce854e30c7db244.tar.zst freebsd-ports-gnome-7525d868d2e5a305682fa7349ce854e30c7db244.zip |
Utilize NO_WRKSUBDIR and reformat Makefile slightly.
Diffstat (limited to 'archivers/dzip')
-rw-r--r-- | archivers/dzip/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/archivers/dzip/Makefile b/archivers/dzip/Makefile index 6b5c45bc80cd..1953647cd4ab 100644 --- a/archivers/dzip/Makefile +++ b/archivers/dzip/Makefile @@ -17,7 +17,7 @@ COMMENT= File compression utility specializing in Quake demo compression USE_ZIP= yes USE_DOS2UNIX= yes -WRKSRC= ${WRKDIR} +NO_WRKSUBDIR= yes MAKEFILE= ${WRKSRC}/Makefile.linux MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" ALL_TARGET= ${PORTNAME} @@ -27,10 +27,11 @@ PLIST_FILES= bin/${PORTNAME} post-extract: .SILENT ${REINPLACE_CMD} -e 's/ifdef BIG_ENDIAN/if BYTE_ORDER == BIG_ENDIAN/' \ -e 's/ifndef BIG_ENDIAN/if BYTE_ORDER == LITTLE_ENDIAN/' \ - ${WRKSRC}/dzip.h ${WRKSRC}/conmain.c - ${REINPLACE_CMD} -e '4s,^,#include <machine/endian.h>,' ${WRKSRC}/dzip.h + ${WRKSRC}/dzip.h ${WRKSRC}/conmain.c + ${REINPLACE_CMD} -e '4s,^,#include <machine/endian.h>,' \ + ${WRKSRC}/dzip.h ${REINPLACE_CMD} -e 's/) $$(OBJECTS/&:T/' ${MAKEFILE} - ${REINPLACE_CMD} '21d;23d' ${WRKSRC}/dzipcon.h + ${REINPLACE_CMD} -e '21d;23d' ${WRKSRC}/dzipcon.h do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin |