diff options
author | OKAZAKI Tetsurou <okazaki@FreeBSD.org> | 2007-08-28 00:42:53 +0000 |
---|---|---|
committer | OKAZAKI Tetsurou <okazaki@FreeBSD.org> | 2007-08-28 00:42:53 +0000 |
commit | 246397fa8888fac5e8b221377bb0aecb6713dbc8 (patch) | |
tree | 8b29e80df3498b7f64b21099465111d2f1264000 /archivers | |
parent | b81a362e33d7ec20d8d22627d4f17c55591934da (diff) | |
download | ports-246397fa8888fac5e8b221377bb0aecb6713dbc8.tar.gz ports-246397fa8888fac5e8b221377bb0aecb6713dbc8.zip |
Notes
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/paq/Makefile | 25 | ||||
-rw-r--r-- | archivers/paq/distinfo | 6 | ||||
-rw-r--r-- | archivers/paq/pkg-descr | 4 | ||||
-rw-r--r-- | archivers/paq/pkg-plist | 4 |
4 files changed, 25 insertions, 14 deletions
diff --git a/archivers/paq/Makefile b/archivers/paq/Makefile index 4402a56b6c87..0657656ff763 100644 --- a/archivers/paq/Makefile +++ b/archivers/paq/Makefile @@ -6,10 +6,10 @@ # PORTNAME= paq -PORTVERSION= 8.n +PORTVERSION= 8.o2 CATEGORIES= archivers MASTER_SITES= http://www.cs.fit.edu/~mmahoney/compression/ -DISTNAME= paq8n +DISTNAME= paq8o2 MAINTAINER= bf2006a@yahoo.com COMMENT= An archiver with an extremely high compression ratio @@ -17,7 +17,8 @@ COMMENT= An archiver with an extremely high compression ratio NO_WRKSUBDIR= yes USE_ZIP= yes SUB_FILES= pkg-message -PLIST_SUB= DISTNAME=${DISTNAME} +CPPFILE= paq8o +PLIST_SUB= CPPFILE=${CPPFILE} .include <bsd.port.pre.mk> @@ -26,7 +27,11 @@ BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm CXXFLAGS+= -DUNIX -O3 ASM1?= nasm -f elf -o ASM2?= +.if !defined(WITH_SSE) ASMFILE= paq7asm +.else +ASMFILE= paq7asmsse +.endif STRIP= .elif !defined(WITHOUT_ASM) && ${ARCH} == "amd64" && !defined(PACKAGE_BUILDING) BUILD_DEPENDS= yasm:${PORTSDIR}/devel/yasm @@ -37,7 +42,7 @@ ASMFILE= paq7asm-x86_64 STRIP= .else WITHOUT_ASM= yes -CXXFLAGS+= -DUNIX -DNOASM -O3 +CXXFLAGS+=-DUNIX -DNOASM -O3 .endif pre-everything:: @@ -48,25 +53,29 @@ pre-everything:: @${ECHO_MSG} "enabled by default on x86 and amd64 architectures, hit Ctrl-C" @${ECHO_MSG} "now and use \"make WITHOUT_ASM=yes\"." @${ECHO_MSG} + @${ECHO_MSG} "If you wish to use the version of the assembly code that is" + @${ECHO_MSG} "optimized for x86 (not amd64) processors with SSE instruction" + @${ECHO_MSG} "support, hit Ctrl-C now and use \"make WITH_SSE=yes\"." + @${ECHO_MSG} do-build: .if !defined(WITHOUT_ASM) ${ASM1} ${WRKSRC}/${ASMFILE}.o ${ASM2} ${WRKSRC}/${ASMFILE}.asm - ${CXX} ${WRKSRC}/${DISTNAME}.cpp ${CXXFLAGS} -o ${WRKSRC}/${DISTNAME} ${WRKSRC}/${ASMFILE}.o + ${CXX} ${WRKSRC}/${CPPFILE}.cpp ${CXXFLAGS} -o ${WRKSRC}/${CPPFILE} ${WRKSRC}/${ASMFILE}.o .else - ${CXX} ${WRKSRC}/${DISTNAME}.cpp ${CXXFLAGS} -o ${WRKSRC}/${DISTNAME} + ${CXX} ${WRKSRC}/${CPPFILE}.cpp ${CXXFLAGS} -o ${WRKSRC}/${CPPFILE} .endif do-install: .if !exists(${PREFIX}/bin) ${MKDIR} ${PREFIX}/bin .endif - ${INSTALL_PROGRAM} ${WRKSRC}/${DISTNAME} ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/${CPPFILE} ${PREFIX}/bin .if !defined(NOPORTDOCS) .if !exists(${DOCSDIR}) ${MKDIR} ${DOCSDIR} .endif - ${INSTALL_MAN} ${WRKSRC}/${DISTNAME}.cpp ${DOCSDIR} + ${INSTALL_MAN} ${WRKSRC}/${CPPFILE}.cpp ${DOCSDIR} ${INSTALL_MAN} ${WRKSRC}/readme.txt ${DOCSDIR} .endif ${CAT} ${PKGMESSAGE} diff --git a/archivers/paq/distinfo b/archivers/paq/distinfo index 993840718847..da9b40eabffe 100644 --- a/archivers/paq/distinfo +++ b/archivers/paq/distinfo @@ -1,3 +1,3 @@ -MD5 (paq8n.zip) = a05c932155d6b67a3e95fb1a46693d6d -SHA256 (paq8n.zip) = d90964ac9c3f539e433883845cbdc511ee13f6e920e64ccd0d369d1ddab0a5bc -SIZE (paq8n.zip) = 85065 +MD5 (paq8o2.zip) = dc976099dfe87d0307218b631cb02924 +SHA256 (paq8o2.zip) = cbf90fa395f6caa346838dd60ede92c57db309616311bf54875bfb6f8490ef3d +SIZE (paq8o2.zip) = 150288 diff --git a/archivers/paq/pkg-descr b/archivers/paq/pkg-descr index 324a6b98a8de..bb6f8dd412b2 100644 --- a/archivers/paq/pkg-descr +++ b/archivers/paq/pkg-descr @@ -15,6 +15,8 @@ but not file attributes. There are no commands to update an existing archive or to extract part of an archive. Files and archives larger than 2GB are not supported (but might work on 64-bit machines, not tested). File names with nonprintable characters are not supported (spaces -are OK). +are OK). Note that different versions of paq are usually incompatible, so +steps must be taken to ensure that the contents of archives made with older +versions of paq will still be accessible after updating paq. WWW: http://www.cs.fit.edu/~mmahoney/compression/ diff --git a/archivers/paq/pkg-plist b/archivers/paq/pkg-plist index e0f511743dfd..ebc464d23a0d 100644 --- a/archivers/paq/pkg-plist +++ b/archivers/paq/pkg-plist @@ -1,4 +1,4 @@ -bin/%%DISTNAME%% -%%PORTDOCS%%%%DOCSDIR%%/%%DISTNAME%%.cpp +bin/%%CPPFILE%% +%%PORTDOCS%%%%DOCSDIR%%/%%CPPFILE%%.cpp %%PORTDOCS%%%%DOCSDIR%%/readme.txt %%PORTDOCS%%@dirrm %%DOCSDIR%% |