diff options
Diffstat (limited to 'sysutils/squashfs-tools/Makefile')
-rw-r--r-- | sysutils/squashfs-tools/Makefile | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/sysutils/squashfs-tools/Makefile b/sysutils/squashfs-tools/Makefile index 520a5ee67999..0d810d5cd78e 100644 --- a/sysutils/squashfs-tools/Makefile +++ b/sysutils/squashfs-tools/Makefile @@ -25,9 +25,8 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/squashfs-tools USE_CSTD= gnu89 -USE_GMAKE= yes +USES= gmake -NO_STAGE= yes .include <bsd.port.options.mk> .if ${PORT_OPTIONS:MDOCS} @@ -41,18 +40,15 @@ MAKE_ARGS+= XZ_SUPPORT=1 .if ${PORT_OPTIONS:MLZO} MAKE_ARGS+= LZO_SUPPORT=1 LZO_DIR=${LOCALBASE} -LIB_DEPENDS+= lzo2.2:${PORTSDIR}/archivers/lzo2 +LIB_DEPENDS+= liblzo2.so:${PORTSDIR}/archivers/lzo2 .endif post-patch: - @${REINPLACE_CMD} -e "s|/usr/local|${PREFIX}|g" \ - -e "s|^\(XATTR\)|# \1|g" \ + @${REINPLACE_CMD} -e "s|^\(XATTR\)|# \1|g" \ ${WRKSRC}/Makefile -.if ${PORT_OPTIONS:MDOCS} post-install: - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC:H}/|} ${DOCSDIR} -.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC:H}/|} ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> |