Changeset View
Changeset View
Standalone View
Standalone View
net/remmina-plugins/bsd.plugin.mk
Show All 27 Lines | |||||
PLIST= ${.CURDIR}/pkg-plist | PLIST= ${.CURDIR}/pkg-plist | ||||
post-patch: | post-patch: | ||||
# Do not build remmina core program | # Do not build remmina core program | ||||
${REINPLACE_CMD} -e '/add_subdirectory(src)/d' ${WRKSRC}/CMakeLists.txt | ${REINPLACE_CMD} -e '/add_subdirectory(src)/d' ${WRKSRC}/CMakeLists.txt | ||||
${REINPLACE_CMD} -e '/add_subdirectory(data)/d' ${WRKSRC}/CMakeLists.txt | ${REINPLACE_CMD} -e '/add_subdirectory(data)/d' ${WRKSRC}/CMakeLists.txt | ||||
${REINPLACE_CMD} -e '/add_subdirectory(po)/d' ${WRKSRC}/CMakeLists.txt | ${REINPLACE_CMD} -e '/add_subdirectory(po)/d' ${WRKSRC}/CMakeLists.txt | ||||
${REINPLACE_CMD} -e '/find_suggested_package(AVAHI)/d' ${WRKSRC}/CMakeLists.txt | ${REINPLACE_CMD} -e '/find_suggested_package(AVAHI)/d' ${WRKSRC}/CMakeLists.txt | ||||
${REINPLACE_CMD} -e '/target_link_libraries(remmina/d' ${WRKSRC}/plugins/CMakeLists.txt | |||||
# Which plugins to build | # Which plugins to build | ||||
.if ${PKGNAMESUFFIX:S,-,,} != "exec" | .if ${PKGNAMESUFFIX:S,-,,} != "exec" | ||||
${REINPLACE_CMD} -e '/add_subdirectory(exec)/d' ${WRKSRC}/plugins/CMakeLists.txt | ${REINPLACE_CMD} -e '/add_subdirectory(exec)/d' ${WRKSRC}/plugins/CMakeLists.txt | ||||
.endif | .endif | ||||
.if ${PKGNAMESUFFIX:S,-,,} != "kwallet" | |||||
${REINPLACE_CMD} -e '/add_definitions(-DWITH_KF5WALLET)/d' ${WRKSRC}/plugins/CMakeLists.txt | |||||
${REINPLACE_CMD} -e '/add_subdirectory(kwallet)/d' ${WRKSRC}/plugins/CMakeLists.txt | |||||
.endif | |||||
.if ${PKGNAMESUFFIX:S,-,,} != "nx" | .if ${PKGNAMESUFFIX:S,-,,} != "nx" | ||||
${REINPLACE_CMD} -e '/find_suggested_package(LIBSSH)/d' ${WRKSRC}/plugins/CMakeLists.txt | ${REINPLACE_CMD} -e '/find_suggested_package(LIBSSH)/d' ${WRKSRC}/plugins/CMakeLists.txt | ||||
${REINPLACE_CMD} -e '/find_required_package(XKBFILE)/d' ${WRKSRC}/plugins/CMakeLists.txt | ${REINPLACE_CMD} -e '/find_required_package(XKBFILE)/d' ${WRKSRC}/plugins/CMakeLists.txt | ||||
${REINPLACE_CMD} -e '/add_subdirectory(nx)/d' ${WRKSRC}/plugins/CMakeLists.txt | ${REINPLACE_CMD} -e '/add_subdirectory(nx)/d' ${WRKSRC}/plugins/CMakeLists.txt | ||||
.endif | .endif | ||||
.if ${PKGNAMESUFFIX:S,-,,} != "rdp" | .if ${PKGNAMESUFFIX:S,-,,} != "rdp" | ||||
${REINPLACE_CMD} -e '/find_suggested_package(FREERDP)/d' ${WRKSRC}/plugins/CMakeLists.txt | ${REINPLACE_CMD} -e '/find_suggested_package(FREERDP)/d' ${WRKSRC}/plugins/CMakeLists.txt | ||||
${REINPLACE_CMD} -e '/add_subdirectory(rdp)/d' ${WRKSRC}/plugins/CMakeLists.txt | ${REINPLACE_CMD} -e '/add_subdirectory(rdp)/d' ${WRKSRC}/plugins/CMakeLists.txt | ||||
.endif | .endif | ||||
.if ${PKGNAMESUFFIX:S,-,,} != "secret" | .if ${PKGNAMESUFFIX:S,-,,} != "secret" | ||||
${REINPLACE_CMD} -e '/add_subdirectory(plugins\/secret)/d' ${WRKSRC}/CMakeLists.txt | ${REINPLACE_CMD} -e '/add_subdirectory(plugins\/secret)/d' ${WRKSRC}/CMakeLists.txt | ||||
.endif | .endif | ||||
.if ${PKGNAMESUFFIX:S,-,,} != "spice" | .if ${PKGNAMESUFFIX:S,-,,} != "spice" | ||||
${REINPLACE_CMD} -e '/find_suggested_package(SPICE)/d' ${WRKSRC}/plugins/CMakeLists.txt | ${REINPLACE_CMD} -e '/find_suggested_package(SPICE)/d' ${WRKSRC}/plugins/CMakeLists.txt | ||||
${REINPLACE_CMD} -e '/add_subdirectory(spice)/d' ${WRKSRC}/plugins/CMakeLists.txt | ${REINPLACE_CMD} -e '/add_subdirectory(spice)/d' ${WRKSRC}/plugins/CMakeLists.txt | ||||
.endif | .endif | ||||
.if ${PKGNAMESUFFIX:S,-,,} != "st" | |||||
${REINPLACE_CMD} -e '/add_subdirectory(st)/d' ${WRKSRC}/plugins/CMakeLists.txt | |||||
.endif | |||||
.if ${PKGNAMESUFFIX:S,-,,} != "telepathy" | .if ${PKGNAMESUFFIX:S,-,,} != "telepathy" | ||||
${REINPLACE_CMD} -e '/find_suggested_package(TELEPATHY)/d' ${WRKSRC}/plugins/CMakeLists.txt | ${REINPLACE_CMD} -e '/find_suggested_package(TELEPATHY)/d' ${WRKSRC}/plugins/CMakeLists.txt | ||||
${REINPLACE_CMD} -e '/add_subdirectory(telepathy)/d' ${WRKSRC}/plugins/CMakeLists.txt | ${REINPLACE_CMD} -e '/add_subdirectory(telepathy)/d' ${WRKSRC}/plugins/CMakeLists.txt | ||||
.endif | .endif | ||||
.if ${PKGNAMESUFFIX:S,-,,} != "vnc" | .if ${PKGNAMESUFFIX:S,-,,} != "vnc" | ||||
${REINPLACE_CMD} -e '/find_suggested_package(GCRYPT)/d' ${WRKSRC}/CMakeLists.txt | ${REINPLACE_CMD} -e '/find_suggested_package(GCRYPT)/d' ${WRKSRC}/CMakeLists.txt | ||||
${REINPLACE_CMD} -e' /find_suggested_package(LIBVNCSERVER)/d' ${WRKSRC}/plugins/CMakeLists.txt | ${REINPLACE_CMD} -e' /find_suggested_package(LIBVNCSERVER)/d' ${WRKSRC}/plugins/CMakeLists.txt | ||||
${REINPLACE_CMD} -e '/add_subdirectory(vnc)/d' ${WRKSRC}/plugins/CMakeLists.txt | ${REINPLACE_CMD} -e '/add_subdirectory(vnc)/d' ${WRKSRC}/plugins/CMakeLists.txt | ||||
.endif | |||||
woodsb02: Add in alphabatical order (w before x) | |||||
.if ${PKGNAMESUFFIX:S,-,,} != "www" | |||||
${REINPLACE_CMD} -e '/add_subdirectory(www)/d' ${WRKSRC}/plugins/CMakeLists.txt | |||||
.endif | .endif | ||||
Done Inline ActionsAdd in alphabetical order (k before w) woodsb02: Add in alphabetical order (k before w) | |||||
.if ${PKGNAMESUFFIX:S,-,,} != "xdmcp" | .if ${PKGNAMESUFFIX:S,-,,} != "xdmcp" | ||||
${REINPLACE_CMD} -e '/add_subdirectory(xdmcp)/d' ${WRKSRC}/plugins/CMakeLists.txt | ${REINPLACE_CMD} -e '/add_subdirectory(xdmcp)/d' ${WRKSRC}/plugins/CMakeLists.txt | ||||
.endif | .endif | ||||
.include <bsd.port.post.mk> | .include <bsd.port.post.mk> | ||||
.endif | .endif |
Add in alphabatical order (w before x)