# # CDDL HEADER START # # The contents of this file are subject to the terms of the # Common Development and Distribution License (the "License"). # You may not use this file except in compliance with the License. # # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE # or http://www.opensolaris.org/os/licensing. # See the License for the specific language governing permissions # and limitations under the License. # # When distributing Covered Code, include this CDDL HEADER in each # file and include the License file at usr/src/OPENSOLARIS.LICENSE. # If applicable, add the following below this CDDL HEADER, with the # fields enclosed by brackets "[]" replaced with your own identifying # information: Portions Copyright [yyyy] [name of copyright owner] # # CDDL HEADER END # # # Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved. # include ../../../make-rules/shared-macros.mk # The version of rpm2cpio.pl delivered in Userland does not seem to be # available in the form of a compressed source tarball, so it is # exceptionally delivered in the Userland gate itself. Note that the version # number comes from the PORTVERSION field of the Makefile at the # COMPONENT_PROJECT_URL site. # COMPONENT_NAME= rpm2cpio # FreeBSD revision 404282 COMPONENT_VERSION= 1.4 COMPONENT_PROJECT_URL= http://svnweb.freebsd.org/ports/head/archivers/rpm2cpio COMPONENT_SRC= src COMPONENT_BUGDB= utility/rpm TPNO= 17824 include $(WS_MAKE_RULES)/prep.mk # Do not clean the sources (set in prep.mk) # CLEAN_PATHS= include $(WS_MAKE_RULES)/ips.mk CLEAN_PATHS+= $(BUILD_DIR_32) ASLR_MODE = $(ASLR_NOT_APPLICABLE) # Common targets # $(BUILD_32): # Just create the build directory, which is needed for publishing. # There is nothing to actually build. # $(RM) -r $(BUILD_DIR_32) ; $(MKDIR) $(BUILD_DIR_32) $(TOUCH) $@ $(INSTALL_32): @echo "Nothing to install." $(TOUCH) $@ build: $(BUILD_32) install: $(INSTALL_32) test: $(NO_TESTS) REQUIRED_PACKAGES += library/libarchive